2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-04 11:43:54 +08:00
linux-next/include/linux/usb
Ruslan Bilovol 855ed04a37 usb: gadget: udc-core: independent registration of gadgets and gadget drivers
Change behavior during registration of gadgets and
gadget drivers in udc-core. Instead of previous
approach when for successful probe of usb gadget driver
at least one usb gadget should be already registered
use another one where gadget drivers and gadgets
can be registered in udc-core independently.

Independent registration of gadgets and gadget drivers
is useful for built-in into kernel gadget and gadget
driver case - because it's possible that gadget is
really probed only on late_init stage (due to deferred
probe) whereas gadget driver's probe is silently failed
on module_init stage due to no any UDC added.

Also it is useful for modules case - now there is no
difference what module to insert first: gadget module
or gadget driver one.

Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
[simplified code as requested by Alan Stern and Felipe Balbi,
 fixed checkpatch issues]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-12-16 10:07:27 -06:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc_ncm.h
cdc-wdm.h
cdc.h cdc: add header guards 2015-09-15 21:53:24 -07:00
ch9.h usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed 2015-09-27 10:54:31 -05:00
chipidea.h usb: chipidea: Add support for 'phy-clkgate-delay-us' property 2015-10-22 09:24:25 +08:00
composite.h usb: composite: add bind_deactivated flag to usb_function 2015-07-29 09:59:19 -05:00
ehci_def.h
ehci_pdriver.h
ehci-dbgp.h
ezusb.h
functionfs.h
g_hid.h
gadget_configfs.h usb-gadget: use per-attribute show and store methods 2015-10-13 22:12:57 -07:00
gadget.h usb: gadget: udc-core: independent registration of gadgets and gadget drivers 2015-12-16 10:07:27 -06:00
gpio_vbus.h
hcd.h usb: define HCD_USB31 speed option for hosts that support USB 3.1 features 2015-10-04 10:34:17 +01:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h
msm_hsusb.h usb: phy: msm: Add D+/D- lines route control 2015-07-30 11:43:36 -05:00
musb-omap.h
musb-ux500.h
musb.h usb: musb: set the controller speed based on the config setting 2015-09-27 10:54:31 -05:00
net2280.h
of.h usb: of: add an api to get dr_mode by the phy node 2015-12-15 09:12:41 -06:00
ohci_pdriver.h
otg-fsm.h
otg.h usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
phy_companion.h
phy.h usb: phy: change some comments 2015-09-27 10:54:31 -05:00
quirks.h USB: add quirk for devices with broken LPM 2015-12-11 15:40:51 -08:00
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: Modify pipe configuration 2015-12-15 09:12:41 -06:00
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h
tegra_usb_phy.h
tilegx.h
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h
wusb-wa.h
wusb.h
xhci_pdriver.h