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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Dec 2020 16:08:24 +0000 (17:08 +0100)
commit9df28edce7c6ab38050235f6f8b43dd7ccd01b6d
tree9df877e6ddcd9eaf8601974a9d19636e1db1b6be
parentf2283366c2919fda71e6eb725c3e5c1bd47bae1a
ALSA: usb-audio: Disable sample read check if firmware doesn't give back

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>
sound/usb/clock.c