]> 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)
commit49c4e95941e2940b7f7a5cc703cfab55a64c2506
tree882cca1c097be039df41de682577e4e2879a4ec3
parentd8b09eb222c2e1a83313dab37043e6174c361c91
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: cf011c58cdea ("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