From: Johannes Berg Date: Thu, 5 Oct 2006 13:08:23 +0000 (+0200) Subject: [ALSA] aoa: fix up i2sbus_attach_codec X-Git-Tag: v2.6.21-rc1~83^2~62^2~203 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d595ee7e0162ae66faa8c4c7d8c2069b40d64fed;p=pandora-kernel.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed