]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Dec 2020 16:08:24 +0000 (17:08 +0100)
commitcf2079e94e8a4e86e58e07c1c1f3ebbfe423822e
tree9df877e6ddcd9eaf8601974a9d19636e1db1b6be
parentf62cec467557d04f205200b11c607c470af5f078
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