]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Set and clear sync EP link properly
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 08:53:12 +0000 (09:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Nov 2020 14:12:07 +0000 (15:12 +0100)
commit05be564bee4121c8c68923cbd9f3b65bdd214b30
tree0316cfa2c96e2934d723c242c53447363ae05710
parent47b7bc13c09688bea79b2805181d5a177b2cae25
ALSA: usb-audio: Set and clear sync EP link properly

The sync EP setup isn't cleared at stopping the stream but expected to
be cleared at the next stream start.  This may leave the sync link
setup stale and can spoof wrongly when full duplex streams were
running in the implicit fb sync.  Let's initialize them properly at
start and end of the stream.

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