diff options
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/clock.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/usb/clock.c b/sound/usb/clock.c index 66bd1574d80b..b853f8df794f 100644 --- a/sound/usb/clock.c +++ b/sound/usb/clock.c | |||
@@ -204,11 +204,8 @@ static int set_sample_rate_v1(struct snd_usb_audio *chip, int iface, | |||
204 | ep = get_endpoint(alts, 0)->bEndpointAddress; | 204 | ep = get_endpoint(alts, 0)->bEndpointAddress; |
205 | 205 | ||
206 | /* if endpoint doesn't have sampling rate control, bail out */ | 206 | /* if endpoint doesn't have sampling rate control, bail out */ |
207 | if (!(fmt->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE)) { | 207 | if (!(fmt->attributes & UAC_EP_CS_ATTR_SAMPLE_RATE)) |
208 | snd_printk(KERN_WARNING "%d:%d:%d: endpoint lacks sample rate attribute bit, cannot set.\n", | ||
209 | dev->devnum, iface, fmt->altsetting); | ||
210 | return 0; | 208 | return 0; |
211 | } | ||
212 | 209 | ||
213 | data[0] = rate; | 210 | data[0] = rate; |
214 | data[1] = rate >> 8; | 211 | data[1] = rate >> 8; |