]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Drop superfluous interface setup at parsing
authorTakashi Iwai <tiwai@suse.de>
Wed, 31 Aug 2022 13:00:21 +0000 (15:00 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 1 Sep 2022 08:23:44 +0000 (10:23 +0200)
commit2bf67fee1a8f896c319c4719aa0d6b3f2073841a
treed333ecca01811ff73d206e5815223eb77e4b5420
parent4b2a55e97f8af123004ee5d7703e1afffd04caa9
ALSA: usb-audio: Drop superfluous interface setup at parsing

We reset each interface that is being parsed for each stream, but this
is superfluous and even can lead to spurious errors.  Since the
interface is set up properly at opening the endpoint for each actual
stream operation, let's drop the superfluous one.

Link: https://lore.kernel.org/r/20220831130021.4762-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/stream.c