ALSA: usb-audio: Refactor ignore_ctl_error checks
authorTakashi Iwai <tiwai@suse.de>
Tue, 18 Nov 2014 10:02:14 +0000 (11:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 20 Nov 2014 20:46:32 +0000 (21:46 +0100)
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>

No differences found