]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: workaround for iface reset issue
authorTakashi Iwai <tiwai@suse.de>
Sat, 23 Jan 2021 15:58:42 +0000 (16:58 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 23 Jan 2021 15:59:42 +0000 (16:59 +0100)
commit528a5a8c530ef2160f0e47094898a30682501c98
treece4e7fbf7519c397442c37f2bf664bbdb02c16e6
parent7a2b3a8ab13d4566ca07378bd16b64dc30348ce8
ALSA: usb-audio: workaround for iface reset issue

The recently introduced sample rate validation code seems causing a
problem on some devices; namely, after performing this, the bus gets
screwed and it influences even on other USB devices.
As a quick workaround, perform it only for the necessary devices;
currently MOTU devices are known to need the valid altset checks, so
filter out other devices.

Fixes: 1a9c55c3f00f ("ALSA: usb-audio: Check valid altsetting at parsing rates for UAC2/3")
Reported-by: Jamie Heilman <jamie@audible.transient.net>
BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1178203
Link: https://lore.kernel.org/r/20210123155842.22652-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/format.c