d595ee7e01
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> |
||
---|---|---|
.. | ||
i2sbus-control.c | ||
i2sbus-core.c | ||
i2sbus-interface.h | ||
i2sbus-pcm.c | ||
i2sbus.h | ||
Makefile |