[#4416] bf5xx-ac97.c does not cleanup after itself

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4416] bf5xx-ac97.c does not cleanup after itself

Submitted By: Mike Frysinger

Open Date

2008-09-11 11:39:52     Close Date

2008-09-25 02:06:17

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: bf5xx-ac97.c does not cleanup after itself

Details:

 

the bf5xx_ac97_probe() function does not clean up most of its resources in most error paths.  for example, cmd_count does not get released at all.  most checks dont release the gpio or peripheral list.

 

in the bf5xx_ac97_remove(), the SPORT peripherals are not released because the peripheral_free_list function is not called anywhere

 

Follow-ups

 

--- Cliff Cai                                                2008-09-11 22:54:09

ok,thanks

 

Cliff

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes