OSDN Git Service

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)
commitb62b998010028c4dfd7db7c26990efb2a0985a1e
treea318c5ce9088577e59289479c65cf48cee05218c
parent93ceaa303b2946453b925c55dc28a4273520dd18
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