aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/usb/card.h
diff options
context:
space:
mode:
authorErwin Burema <e.burema@gmail.com>2020-05-10 20:29:11 +0200
committerTakashi Iwai <tiwai@suse.de>2020-05-15 19:14:29 +0200
commit10ce77e4817fef99e1166be7e6685a80c63bf77f (patch)
tree249422b14e8db6b079f8c5ee232fcb918cb9dded /sound/usb/card.h
parentALSA: usb-audio: fixing upper volume limit for RME Babyface Pro routing crosspoints (diff)
downloadwireguard-linux-10ce77e4817fef99e1166be7e6685a80c63bf77f.tar.xz
wireguard-linux-10ce77e4817fef99e1166be7e6685a80c63bf77f.zip
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: c249177944b6 ("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>
Diffstat (limited to 'sound/usb/card.h')
-rw-r--r--sound/usb/card.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/card.h b/sound/usb/card.h
index 820e564656ed..d6219fba9699 100644
--- a/sound/usb/card.h
+++ b/sound/usb/card.h
@@ -108,6 +108,7 @@ struct snd_usb_endpoint {
int iface, altsetting;
int skip_packets; /* quirks for devices to ignore the first n packets
in a stream */
+ bool is_implicit_feedback; /* This endpoint is used as implicit feedback */
spinlock_t lock;
struct list_head list;