]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Don't set altsetting before initializing sample rate
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:23 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:14:00 +0000 (15:14 +0100)
commitc567db58e82a82d98a5c9cf9cb0b952f8217ee21
treed1b377ee0377c77e14433581be6ad95b593aa365
parent522216a1d2b89c5b2df1ad8fb4063bc16550dad3
ALSA: usb-audio: Don't set altsetting before initializing sample rate

Setting the active altsetting at changing sample rate seems
unrecommended.  The host should deselect the altsetting at first
before that, then select it again.

Tested-by: Keith Milner <kamilner@superlative.org>
Tested-by: Dylan Robinson <dylan_robinson@motu.com>
Link: https://lore.kernel.org/r/20201123085347.19667-18-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c