diff options
author | Takashi Iwai | 2011-08-19 07:55:10 +0200 |
---|---|---|
committer | Takashi Iwai | 2011-08-19 07:55:10 +0200 |
commit | 38b65190c6ab0be8ce7cff69e734ca5b5e7fa309 (patch) | |
tree | eeddb399b62b27ef184e87d0bcb8469b3dff5fdd /sound/pci | |
parent | 3fe45aeaf2033c9eaa5028ed5ba68b466008876f (diff) |
ALSA: usb-audio - Fix missing mixer dB information
The recent fix for testing dB range at the mixer creation time seems
to cause regressions in some devices. In such devices, reading the dB
info at probing time gives an error, thus both dBmin and dBmax are still
zero, and TLV flag isn't set although the later read of dB info succeeds.
This patch adds a workaround for such a case by assuming that the later
read will succeed. In future, a similar test should be performed in a
case where a wrong dB range is seen even in the later read.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions