android_kernel_xiaomi_sm8350/sound/aoa
Johannes Berg d595ee7e01 [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>
2007-02-09 09:00:09 +01:00
..
codecs [ALSA] sound: Don't include i2c-dev.h 2006-12-20 08:55:32 +01:00
core [ALSA] aoa: set device pointer in pcms 2007-02-09 09:00:08 +01:00
fabrics kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
soundbus [ALSA] aoa: fix up i2sbus_attach_codec 2007-02-09 09:00:09 +01:00
aoa-gpio.h
aoa.h
Kconfig
Makefile