diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-07-23 05:53:48 +0000 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-03 07:45:00 +0100 |
commit | 62f5ad6733b872e14d671b615850eb5bd1cd7e30 (patch) | |
tree | 95371314dedc70e7f870a2621765c5f1cc9027a1 /tools/perf/scripts/python/sched-migration.py | |
parent | 2c2749de118bd36645b3a4a56f0d8ef6d4fd09cf (diff) |
ASoC: wm8904: fix resource reclaim in wm8904_register error path
This patch includes below fixes:
1. wm8904 need to be kfreed in wm8904_register() error path before return.
2. fix the error path for snd_soc_register_codec() fail and
snd_soc_register_dai() fail to properly free resources.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions