linux/sound/aoa/core
Johannes Berg be6a83dd66 [ALSA] aoa: platform function gpio: ignore errors from functions that don't exist
Sometimes we simply want to turn off or on everything, and when recently a
warning was added when a certain platform function can't be called, this
triggered all the time in those cases. This patch shows the warning only if
the error was different from the function not existing.
The alternative would be to not even try calling the function when it
doesn't exist by first checking which exist and then only calling those that
do, but that adds complexity that isn't necessary.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
2006-08-03 15:21:25 +02:00
..
Makefile [ALSA] snd-aoa: add snd-aoa 2006-06-22 21:34:38 +02:00
snd-aoa-alsa.c [ALSA] snd-aoa: add snd-aoa 2006-06-22 21:34:38 +02:00
snd-aoa-alsa.h [ALSA] snd-aoa: add snd-aoa 2006-06-22 21:34:38 +02:00
snd-aoa-core.c [ALSA] snd-aoa: add snd-aoa 2006-06-22 21:34:38 +02:00
snd-aoa-gpio-feature.c [ALSA] aoa: feature gpio layer: fix IRQ access 2006-08-03 15:21:20 +02:00
snd-aoa-gpio-pmf.c [ALSA] aoa: platform function gpio: ignore errors from functions that don't exist 2006-08-03 15:21:25 +02:00