linux-xiaomi-chiron/include/linux/usb
Heikki Krogerus bce3052f0c usb: roles: Provide the switch drivers handle to the switch in the API
The USB role callback functions had a parameter pointing to
the parent device (struct device) of the switch. The
assumption was that the switch parent is always the
controller. Firstly, that may not be true in every case, and
secondly, it prevents us from supporting devices that supply
multiple muxes.

Changing the first parameter of usb_role_switch_set_t and
usb_role_switch_get_t from struct device to struct
usb_role_switch.

Cc: Peter Chen <Peter.Chen@nxp.com>
Cc: Felipe Balbi <balbi@kernel.org>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: Bin Liu <b-liu@ti.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-6-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-03-04 11:12:50 +01:00
..
audio-v2.h USB: Replace zero-length array with flexible-array member 2020-02-23 19:24:51 +01:00
audio-v3.h USB: Replace zero-length array with flexible-array member 2020-02-23 19:24:51 +01:00
audio.h
c67x00.h
ccid.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h usb: common: Separated decoding functions from dwc3 driver. 2019-08-29 10:52:27 +03:00
chipidea.h usb: chipidea: imx: add imx7ulp support 2019-06-14 17:39:43 +08:00
composite.h
ehci-dbgp.h
ehci_def.h usb: host: ehci-platform: add a quirk to avoid stuck 2020-02-10 11:15:27 -08:00
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h USB: Replace zero-length array with flexible-array member 2020-02-23 19:24:51 +01:00
gadget_configfs.h
hcd.h USB: Replace zero-length array with flexible-array member 2020-02-23 19:24:51 +01:00
input.h
iowarrior.h
irda.h USB: serial: ir-usb: fix link-speed handling 2020-01-23 09:11:16 +01:00
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
musb-ux500.h
musb.h
net2280.h
of.h
ohci_pdriver.h
otg-fsm.h
otg.h
pd.h usb: pd: Add definitions for the Enter_USB message 2020-01-09 10:48:55 +01:00
pd_ado.h
pd_bdo.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
pd_ext_sdb.h
pd_vdo.h usb: pd: Add definition for DFP and UFP1 VDOs 2020-01-09 10:48:55 +01:00
phy.h
phy_companion.h
quirks.h USB: core: add endpoint-blacklist quirk 2020-02-10 11:14:22 -08:00
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: Switch to GPIO descriptor 2019-12-30 20:37:42 +01:00
rndis_host.h
role.h usb: roles: Provide the switch drivers handle to the switch in the API 2020-03-04 11:12:50 +01:00
serial.h
sl811.h
storage.h
tcpm.h usb: typec: tcpm: Remove tcpc_config configuration mechanism 2019-11-16 14:45:31 +01:00
tegra_usb_phy.h usb: phy: tegra: Use device-tree notion of reset-GPIO's active-state 2020-01-09 16:21:58 +01:00
typec.h usb: typec: Add sysfs node to show cc orientation 2020-03-04 10:51:21 +01:00
typec_altmode.h usb: typec: altmode: Remove the notification chain 2020-02-12 10:51:21 -08:00
typec_dp.h
typec_mux.h usb: typec: mux: Allow the mux handles to be requested with fwnode 2020-03-04 11:12:49 +01:00
uas.h
ulpi.h usb: ulpi: Add resource-managed variant of otg_ulpi_create() 2020-01-09 16:21:57 +01:00
usb338x.h usb: gadget: net2280: Move all "ll" registers in one structure 2019-08-30 09:14:38 +03:00
usb_phy_generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
usbnet.h netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
xhci-dbgp.h