diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2010-08-13 19:42:07 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-14 08:30:08 (GMT) |
commit | 4f4e8f69895c8696a4bcc751817d4b186023ac44 (patch) | |
tree | 602ca69d763218a50cfab862169e8194be191b5e /sound/usb/urb.c | |
parent | 31cbd97726207b483a1731562559fabd4e2efdd0 (diff) | |
download | linux-4f4e8f69895c8696a4bcc751817d4b186023ac44.tar.xz |
ALSA: usb: USB3 SuperSpeed sound support
This is V2 of the patch, after feedback from Clemens and Daniel.
This patch adds SuperSpeed support to the USB drivers under sound/. It adds
tests for USB_SPEED_SUPER to the appropriate places that check for the USB
speed.
This patch has been tested with our SS USB3 device emulating a set of Yamaha
speakers and a Logitech microphone, but with the descriptors modified to add
USB3 support. It has also been tested with the real speakers and microphone,
to make sure that USB2 devices still work.
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/urb.c')
-rw-r--r-- | sound/usb/urb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/urb.c b/sound/usb/urb.c index de607d4..8deeaad 100644 --- a/sound/usb/urb.c +++ b/sound/usb/urb.c @@ -244,7 +244,7 @@ int snd_usb_init_substream_urbs(struct snd_usb_substream *subs, else subs->curpacksize = maxsize; - if (snd_usb_get_speed(subs->dev) == USB_SPEED_HIGH) + if (snd_usb_get_speed(subs->dev) != USB_SPEED_FULL) packs_per_ms = 8 >> subs->datainterval; else packs_per_ms = 1; |