18b7ede5f7
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> |
||
---|---|---|
.. | ||
Kbuild | ||
association.h | ||
atmel_usba_udc.h | ||
audio-v2.h | ||
audio.h | ||
c67x00.h | ||
cdc.h | ||
ch9.h | ||
ch11.h | ||
composite.h | ||
ehci_def.h | ||
functionfs.h | ||
g_hid.h | ||
g_printer.h | ||
gadget.h | ||
gadgetfs.h | ||
gpio_vbus.h | ||
hcd.h | ||
input.h | ||
intel_mid_otg.h | ||
iowarrior.h | ||
irda.h | ||
isp116x.h | ||
isp1362.h | ||
isp1760.h | ||
langwell_otg.h | ||
langwell_udc.h | ||
m66592.h | ||
midi.h | ||
msm_hsusb.h | ||
msm_hsusb_hw.h | ||
musb.h | ||
net2280.h | ||
otg.h | ||
quirks.h | ||
r8a66597.h | ||
renesas_usbhs.h | ||
rndis_host.h | ||
serial.h | ||
sl811.h | ||
storage.h | ||
tmc.h | ||
ulpi.h | ||
usbnet.h | ||
video.h | ||
wusb-wa.h | ||
wusb.h |