]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:18:50 +0000 (11:18 -0800)
commitd91f0db7cb93284d2424b603b9cab2d07baac460
tree4c99880662f9ed7a661e11c20805c01ef0614ca3
parent5e9c7eef6f78089efd589b4388e3b54d1f95c50a
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