Files
linux/sound/usb
Daniel Mack f45cd6dfe0 ALSA: snd-usb: fix clock source validity index
commit aff252a848 upstream.

uac_clock_source_is_valid() uses the control selector value to access
the bmControls bitmap of the clock source unit. This is wrong, as
control selector values start from 1, while the bitmap uses all
available bits.

In other words, "Clock Validity Control" is stored in D3..2, not D5..4
of the clock selector unit's bmControls.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Reported-by: Andreas Koch <andreas@akdesigninc.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-09 08:27:53 -07:00
..
2011-06-16 21:31:33 +02:00
2010-03-05 08:17:14 +01:00
2010-03-05 08:17:14 +01:00
2010-03-05 08:17:14 +01:00
2010-03-05 08:17:14 +01:00