android_kernel_xiaomi_sm8350/sound/aoa/soundbus/i2sbus
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
..
i2sbus-control.c [PATCH] aoa: i2sbus: revamp control layer 2006-07-10 13:24:19 -07:00
i2sbus-core.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
i2sbus-interface.h
i2sbus-pcm.c [ALSA] aoa: fix up i2sbus_attach_codec 2007-02-09 09:00:09 +01:00
i2sbus.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
Makefile