diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-10-05 13:08:23 (GMT) |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 08:00:09 (GMT) |
commit | d595ee7e0162ae66faa8c4c7d8c2069b40d64fed (patch) | |
tree | 91c1abaaee1b3498b031ea2142bd80456f20e702 /sound/core | |
parent | 73e85fe8452b950b93cfb61377f749e9b15437fb (diff) | |
download | linux-fsl-qoriq-d595ee7e0162ae66faa8c4c7d8c2069b40d64fed.tar.xz |
[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')
0 files changed, 0 insertions, 0 deletions