diff options
author | Daniel Mack <zonque@gmail.com> | 2012-08-01 10:16:53 +0200 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2012-08-10 00:25:11 +0100 |
commit | 768049e31e0ee380d0fc6884f691aca6bc397fd9 (patch) | |
tree | 31c8453354d2e7feac1ad3e0a37b4ebd748b6f77 /sound/pci/hda/patch_realtek.c | |
parent | 6f72a41f67bb23a6478a0277d97f563830d3f25d (diff) |
ALSA: snd-usb: fix clock source validity index
commit aff252a848ce21b431ba822de3dab9c4c94571cb 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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions