]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: usb-audio - Check the dB-range validity in the later read, too
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Aug 2011 06:30:53 +0000 (08:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Nov 2011 22:35:21 +0000 (14:35 -0800)
commit3485c041be44cfcbe8681a9d79f16d9aaac17529
tree441a1434a8d103bc65d0a793800864ecfea2661b
parentd047c6e8a7bfa830bca0741a0e38b1edc42b13b7
ALSA: usb-audio - Check the dB-range validity in the later read, too

commit 9fcd0ab130579d9742538340edda3225f2b49a3e upstream.

When the initial check of dB-range failed due to the read error, try to
check again at the later read, too.  When an invalid dB range is found,
remove TLV flags and notify the mixer info change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/usb/mixer.c