diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-10-05 15:08:23 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 09:00:09 +0100 |
commit | d595ee7e0162ae66faa8c4c7d8c2069b40d64fed (patch) | |
tree | 91c1abaaee1b3498b031ea2142bd80456f20e702 /sound/core/control_compat.c | |
parent | 73e85fe8452b950b93cfb61377f749e9b15437fb (diff) | |
download | kernel_samsung_espresso10-d595ee7e0162ae66faa8c4c7d8c2069b40d64fed.zip kernel_samsung_espresso10-d595ee7e0162ae66faa8c4c7d8c2069b40d64fed.tar.gz kernel_samsung_espresso10-d595ee7e0162ae66faa8c4c7d8c2069b40d64fed.tar.bz2 |
[ALSA] aoa: fix up i2sbus_attach_codec
This patch changes i2sbus_attach_codec to implement a proper error handling
strategy using labels to jump to the right part. Since it has an elaborate
set-up sequence it also needs that tear-down, which I had hard-coded
inbetween all the checks. This increases readability and should reduce .text
size as well.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core/control_compat.c')
0 files changed, 0 insertions, 0 deletions