diff options
author | 2010-02-04 09:10:10 +0200 | |
---|---|---|
committer | 2010-02-04 10:49:04 +0000 | |
commit | cb67286d6629ecb5bfc44071d664cf1cbd01a350 (patch) | |
tree | 5b70af8eb311dc44db47eec4aae68c3b945e055c /kernel/sysctl.c | |
parent | ASoC: Add WM8912 DAC support (diff) | |
download | linux-dev-cb67286d6629ecb5bfc44071d664cf1cbd01a350.tar.xz linux-dev-cb67286d6629ecb5bfc44071d664cf1cbd01a350.zip |
ASoC: TWL4030: Module unloading fix
The module unloading path had several problems:
- it freed up the private structure twice
- it freed up the codec structure, which was allocated as part
of the private structure
- it did not freed up the reg_cache
- it did not unregistered the dais and the codec
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions