aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/clock.c
diff options
context:
space:
mode:
authorKalimochoAz <calimochoazucarado@gmail.com>2012-08-30 21:49:20 +0200
committerKalimochoAz <calimochoazucarado@gmail.com>2012-08-30 21:49:20 +0200
commit2a4a7840c4bf66614b49c2828947f2cccb6ab36f (patch)
treea2b98163d6f4ae05a9f0557e484cc120603a42c6 /sound/usb/clock.c
parentde60756ed5f5a5c82d5c799850148f68346e5918 (diff)
parent5aa287dcf1b5879aa0150b0511833c52885f5b4c (diff)
downloadkernel_samsung_crespo-2a4a7840c4bf66614b49c2828947f2cccb6ab36f.zip
kernel_samsung_crespo-2a4a7840c4bf66614b49c2828947f2cccb6ab36f.tar.gz
kernel_samsung_crespo-2a4a7840c4bf66614b49c2828947f2cccb6ab36f.tar.bz2
Merge branch 'linux-3.0.y' into HEAD
Conflicts: drivers/net/tun.c
Diffstat (limited to 'sound/usb/clock.c')
-rw-r--r--sound/usb/clock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/clock.c b/sound/usb/clock.c
index 075195e..f0ff776 100644
--- a/sound/usb/clock.c
+++ b/sound/usb/clock.c
@@ -111,7 +111,8 @@ static bool uac_clock_source_is_valid(struct snd_usb_audio *chip, int source_id)
return 0;
/* If a clock source can't tell us whether it's valid, we assume it is */
- if (!uac2_control_is_readable(cs_desc->bmControls, UAC2_CS_CONTROL_CLOCK_VALID))
+ if (!uac2_control_is_readable(cs_desc->bmControls,
+ UAC2_CS_CONTROL_CLOCK_VALID - 1))
return 1;
err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), UAC2_CS_CUR,