]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
authorErwin Burema <e.burema@gmail.com>
Sun, 10 May 2020 18:29:11 +0000 (20:29 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 May 2020 17:14:29 +0000 (19:14 +0200)
commit231087219629a382c14bc93e349c1c7f91040b3b
tree249422b14e8db6b079f8c5ee232fcb918cb9dded
parent11bdd54e96e8085889839bf1096c4529971e1db5
ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback

For USB sound devices using implicit feedback the endpoint used for
this feedback should be able to be opened twice, once for required
feedback and second time for audio data. This way these devices can be
put in duplex audio mode. Since this only works if the settings of the
endpoint don't change a check is included for this.

This fixes bug 207023 ("MOTU M2 regression on duplex audio") and
should also fix bug 103751 ("M-Audio Fast Track Ultra usb audio device
will not operate full-duplex")

Fixes: 166f6d1dd355 ("ALSA: usb-audio: add implicit fb quirk for MOTU M Series")
Signed-off-by: Erwin Burema <e.burema@gmail.com>
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207023
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=103751
Link: https://lore.kernel.org/r/2410739.SCZni40SNb@alpha-wolf
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/card.h
sound/usb/endpoint.c
sound/usb/pcm.c