diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-11-18 11:02:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-20 21:46:32 +0100 |
commit | 5aeee3424fa5926a53885b9defb593971e446d77 (patch) | |
tree | 9456382d8eb2a3530314b04789de371e18b7ce56 /sound/usb/mixer.h | |
parent | a69862d8d04e4877965cc938140c9f8e6da0b827 (diff) | |
download | lwn-5aeee3424fa5926a53885b9defb593971e446d77.tar.gz lwn-5aeee3424fa5926a53885b9defb593971e446d77.zip |
ALSA: usb-audio: Refactor ignore_ctl_error checks
Introduce an internal helper macro for avoiding many open codes.
The only slight behavior change is in a couple of get ballcks where
the value is reset at error no matter whether ignore_ctl_error is set
or not. Actually this is even safer than before.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer.h')
0 files changed, 0 insertions, 0 deletions