diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2006-07-25 16:15:07 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-08-03 15:21:25 +0200 |
commit | be6a83dd668fb8578456b61d9e16a18d9bc37a65 (patch) | |
tree | b22c2d47bf7448f6fea3f264046bb21af7e86a6b /drivers/cpufreq | |
parent | 545b07d3620c9eac3349398b5303d20cab260ff6 (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/cpufreq')
0 files changed, 0 insertions, 0 deletions