diff options
Diffstat (limited to 'sound/usb/clock.c')
-rw-r--r-- | sound/usb/clock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/clock.c b/sound/usb/clock.c index 379baad3d5ad..5e634a2eb282 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) | |||
111 | return 0; | 111 | return 0; |
112 | 112 | ||
113 | /* If a clock source can't tell us whether it's valid, we assume it is */ | 113 | /* If a clock source can't tell us whether it's valid, we assume it is */ |
114 | if (!uac2_control_is_readable(cs_desc->bmControls, UAC2_CS_CONTROL_CLOCK_VALID)) | 114 | if (!uac2_control_is_readable(cs_desc->bmControls, |
115 | UAC2_CS_CONTROL_CLOCK_VALID - 1)) | ||
115 | return 1; | 116 | return 1; |
116 | 117 | ||
117 | err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), UAC2_CS_CUR, | 118 | err = snd_usb_ctl_msg(dev, usb_rcvctrlpipe(dev, 0), UAC2_CS_CUR, |