diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-11-03 15:04:45 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-03 09:08:20 -0400 |
commit | c46e0079cec40b49fbdb86a088cfd50b250fef47 (patch) | |
tree | f63438e618de0262fd503b932cd10a6ca6685d46 /tools/perf/scripts/python/futex-contention.py | |
parent | 29c798fecb9b846b363b0a02fa662ff42fc19426 (diff) |
ASoC: Fix snd_soc_register_dais error handling
kzalloc for dai may fail at any iteration of the for loop,
thus properly unregister already registered DAIs before return error.
The error handling code in snd_soc_register_dais() already ensure all the DAIs
are unregistered before return error, we can remove the error handling code
to unregister DAIs in snd_soc_register_codec().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions