OSDN Git Service

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:31:17 +0000 (14:31 -0800)
commit9338f407e30015cd9d236d8a678cacd2c72d4a31
tree63afae042fb46368bc5690989a9c956f93008358
parentf73870d6d33cd24c8fe2a7b39b2f99c433804945
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