diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-26 06:54:42 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-29 11:01:06 (GMT) |
commit | d482337eaba627348ffb8b7c0752d65e16667cd9 (patch) | |
tree | 8401fb0e0b6df8f8452b750fe8831be24bb3c695 /sound/soc/soc-cache.c | |
parent | 3790f205465f5c47a3629129af875c94f61f1fd3 (diff) | |
download | linux-d482337eaba627348ffb8b7c0752d65e16667cd9.tar.xz |
ASoC: Fix resource leak in smdk_spdif.c
Properly free allocated resources in smdk_init() error path.
Add missing platform_device_unregister() in smdk_exit().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-cache.c')
0 files changed, 0 insertions, 0 deletions