diff options
author | Axel Lin <[email protected]> | 2010-07-23 05:53:48 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2010-08-03 07:45:00 +0100 |
commit | 62f5ad6733b872e14d671b615850eb5bd1cd7e30 (patch) | |
tree | 95371314dedc70e7f870a2621765c5f1cc9027a1 /tools/perf/util/trace-event-scripting.c | |
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 <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions