linux_dsm_epyc7002/include/linux/usb
Sebastian Andrzej Siewior 10287baec7 usb: gadget: always update HS/SS descriptors and create a copy of them
HS and SS descriptors are staticaly created. They are updated during the
bind process with the endpoint address, string id or interface numbers.

After that, the descriptor chain is linked to struct usb_function which
is used by composite in order to serve the GET_DESCRIPTOR requests,
number of available configs and so on.

There is no need to assign the HS descriptor only if the UDC supports
HS speed because composite won't report those to the host if HS support
has not been reached. The same reasoning is valid for SS.

This patch makes sure each function updates HS/SS descriptors
unconditionally and uses the newly introduced helper function to create a
copy the descriptors for the speed which is supported by the UDC.

While at that, also rename f->descriptors to f->fs_descriptors in order
to make it more explicit what that means.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2012-10-31 15:09:44 +02:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
cdc.h
ch9.h
ch11.h usb: redefine DeviceRemovable and wHubDelay as _le16 2012-09-10 11:14:32 -07:00
chipidea.h
composite.h usb: gadget: always update HS/SS descriptors and create a copy of them 2012-10-31 15:09:44 +02:00
ehci_def.h USB: EHCI: Tegra: Fix wrong register definition 2012-09-18 17:40:56 +01:00
ehci_pdriver.h usb: host: ehci-platform: add platform specific power callback 2012-08-10 12:05:32 -07:00
ezusb.h USB: ezusb: add support for Cypress FX2LP 2012-09-18 17:23:47 +01:00
functionfs.h
g_hid.h
g_printer.h
gadget.h usb: gadget: always update HS/SS descriptors and create a copy of them 2012-10-31 15:09:44 +02:00
gadgetfs.h
gpio_vbus.h
hcd.h usb: hcd: use *resource_size_t* for specifying resource data 2012-08-16 14:04:14 -07:00
input.h
intel_mid_otg.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
Kbuild
m66592.h
midi.h
msm_hsusb_hw.h
msm_hsusb.h
musb-omap.h
musb.h
net2280.h
nop-usb-xceiv.h usb: xceiv: nop: let it work as USB2 and USB3 phy 2012-08-03 09:36:19 +03:00
ohci_pdriver.h usb: host: ohci-platform: add platform specific power callback 2012-08-10 12:05:32 -07:00
omap_usb.h usb: phy: add a new driver for omap usb2 phy 2012-09-06 20:14:53 +03:00
otg.h usb: phy: fix build break 2012-09-06 16:01:11 +03:00
phy_companion.h usb: phy: add a new driver for omap usb2 phy 2012-09-06 20:14:53 +03:00
phy.h usb: phy: fix build break 2012-09-06 16:01:11 +03:00
quirks.h usb: convert USB_QUIRK_RESET_MORPHS to USB_QUIRK_RESET 2012-08-20 14:38:08 -07:00
r8a66597.h
renesas_usbhs.h
rndis_host.h
serial.h USB: ezusb: add support for Cypress FX2LP 2012-09-18 17:23:47 +01:00
sl811.h
storage.h
tegra_usb_phy.h usb: move phy driver from mach-tegra to drivers/usb 2012-09-05 16:43:57 +03:00
tilegx.h
tmc.h
uas.h
ulpi.h
usbnet.h usbnet: Support devices reporting idleness 2012-10-11 15:19:21 -04:00
video.h
wusb-wa.h
wusb.h