Felipe Balbi
18b7ede5f7
usb: ch9: fix up MaxStreams helper
...
According to USB 3.0 Specification Table 9-22, if
bmAttributes [4:0] are set to zero, it means "no
streams supported", but the way this helper was
defined on Linux, we will *always* have one stream
which might cause several problems.
For example on DWC3, we would tell the controller
endpoint has streams enabled and yet start transfers
with Stream ID set to 0, which would goof up the host
side.
While doing that, convert the macro to an inline
function due to the different checks we now need.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-04 15:52:42 -08:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc.h
CDC NCM errata updates for cdc.h
2011-02-08 13:54:42 -08:00
ch9.h
usb: ch9: fix up MaxStreams helper
2012-01-04 15:52:42 -08:00
ch11.h
USB: Remove the duplicate definition of HUB_SET_DEPTH
2011-12-12 14:46:47 -08:00
composite.h
usb: gadget: add SuperSpeed support to the Gadget Framework
2011-07-01 14:27:05 -07:00
ehci_def.h
USB: EHCI: Support controllers with big endian capability regs
2011-05-03 11:43:21 -07:00
functionfs.h
Fix common misspellings
2011-03-31 11:26:23 -03:00
g_hid.h
g_printer.h
gadget.h
usb: gadget: introduce support for sg lists
2011-12-21 13:24:44 +02:00
gadgetfs.h
gpio_vbus.h
hcd.h
USB: Remove the SAW_IRQ hcd flag
2011-11-14 16:46:06 -08:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild
USB: export video.h to the includes available for userspace
2011-09-23 23:07:26 -03:00
langwell_otg.h
langwell_udc.h
m66592.h
usb: gadget: m66592-udc: add function for external controller
2011-07-09 01:08:39 +03:00
midi.h
Fix common misspellings
2011-03-31 11:26:23 -03:00
msm_hsusb.h
USB: OTG: msm: Implement charger detection
2011-05-06 18:27:48 -07:00
msm_hsusb_hw.h
USB: OTG: msm: Add PHY suspend support for MSM8960
2011-05-06 18:27:49 -07:00
musb.h
net2280.h
otg.h
usb: fix building musb drivers
2011-05-06 18:16:39 -07:00
quirks.h
r8a66597.h
usb: gadget: r8a66597-udc: add support for SUDMAC
2011-10-13 20:38:39 +03:00
renesas_usbhs.h
usb: gadget: renesas_usbhs: add platform power control function
2011-12-12 11:44:58 +02:00
rndis_host.h
rndis_host: Poll status before control channel where necessary
2011-04-13 14:48:55 -07:00
serial.h
USB: serial: add support for multiple read urbs
2011-11-15 10:46:13 -08:00
sl811.h
storage.h
tmc.h
ulpi.h
usb: otg: Add ulpi viewport access ops
2011-03-11 14:22:10 -08:00
usbnet.h
usbnet: Resubmit interrupt URB if device is open
2011-04-28 12:56:09 -07:00
video.h
wusb-wa.h
wusb.h
Fix common misspellings
2011-03-31 11:26:23 -03:00