]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate
authorJoe Turner <joe@oampo.co.uk>
Mon, 16 Feb 2015 20:44:33 +0000 (20:44 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 17 Feb 2015 06:20:04 +0000 (07:20 +0100)
commit7ef1d1ca416481df67e4ab232c2fb00115c7e0bb
treea318c5ce9088577e59289479c65cf48cee05218c
parenta08e6a41130d1cb498bf8cd751e38eb597bcd723
ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate

Adds a quirk to disable the check that the sample rate has been set correctly, as the Lifecam does not support getting the sample rate.

This means that we don't need to wait for the USB timeout when attempting to get the sample rate. Waiting for the timeout causes problems in some applications, which give up on the device acquisition process before it has had time to complete, resulting in no sound.

[minor tidy up by tiwai]

Signed-off-by: Joe Turner <joe@oampo.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/clock.c
sound/usb/quirks.c
sound/usb/quirks.h