]> 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)
commit142438654d9edc58ea221ed8e52ea32a2a4b5836
tree882cca1c097be039df41de682577e4e2879a4ec3
parent34c0953e0d88ea9e2c55468a6b2d04481d387d8e
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: fecaab990375 ("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