summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2006-07-25 16:15:07 +0200
committerJaroslav Kysela <perex@suse.cz>2006-08-03 15:21:25 +0200
commitbe6a83dd668fb8578456b61d9e16a18d9bc37a65 (patch)
treeb22c2d47bf7448f6fea3f264046bb21af7e86a6b /drivers/i2c
parent545b07d3620c9eac3349398b5303d20cab260ff6 (diff)
[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>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions