]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: usb-audio: Disable sample read check if firmware doesn't give back
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Dec 2020 14:58:58 +0000 (15:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:26:09 +0000 (11:26 +0100)
commit281d5bea129b2d8e64bca840fd9f9b336f5b6b37
tree3ea98b456b936184061761635af0cfad9e33886b
parent51f8e5d547bfa19d890e812b478320503f2ff81a
ALSA: usb-audio: Disable sample read check if firmware doesn't give back

commit 9df28edce7c6ab38050235f6f8b43dd7ccd01b6d upstream.

Some buggy firmware don't give the current sample rate but leaves
zero.  Handle this case more gracefully without warning but just skip
the current rate verification from the next time.

Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20201218145858.2357-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/clock.c