]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Fix implicit feedback sync setup for Pioneer devices
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Jan 2021 07:52:19 +0000 (08:52 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 8 Jan 2021 22:43:39 +0000 (23:43 +0100)
commit167c9dc84ec384c0940359e067301883ad2b42a8
tree882cca1c097be039df41de682577e4e2879a4ec3
parenteae4d054f909d9e9589d0940f9b5b0cd68de1e2e
ALSA: usb-audio: Fix implicit feedback sync setup for Pioneer devices

Pioneer devices have both playback and capture streams sharing the
same iface/altsetting, and those need to be paired as implicit
feedback.  Instead of a half-baked (and broken) static quirk entry,
set up more generically for those devices by checking the number of
endpoints and the attribute of the secondary EP.

Fixes: bf6313a0ff76 ("ALSA: usb-audio: Refactor endpoint management")
Reported-by: František Kučera <konference@frantovo.cz>
Link: https://lore.kernel.org/r/20210108075219.21463-6-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/implicit.c