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)
commit1803503fe963afe850b26769f5447f871b1c6f83
tree0316cfa2c96e2934d723c242c53447363ae05710
parentc7474d09777c3d321f9f7f6a416f276204926c54
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