]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 9 Jun 2015 18:31:47 +0000 (14:31 -0400)
commitb978d2f62a4c2385b2991a9c73eb70943706bb45
tree14e078a207b55e4d488cb30c23dcd4df0a272e8c
parent320bb9ecddd1b02b5010c8ec1a9bb47849ac003c
ALSA: usb-audio: Don't attempt to get Lifecam HD-5000 sample rate

[ Upstream commit b62b998010028c4dfd7db7c26990efb2a0985a1e ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/usb/clock.c
sound/usb/quirks.c
sound/usb/quirks.h