mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:50:53 +07:00
bce3052f0c
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtu3_core.c | ||
mtu3_debug.h | ||
mtu3_debugfs.c | ||
mtu3_dr.c | ||
mtu3_dr.h | ||
mtu3_gadget_ep0.c | ||
mtu3_gadget.c | ||
mtu3_host.c | ||
mtu3_hw_regs.h | ||
mtu3_plat.c | ||
mtu3_qmu.c | ||
mtu3_qmu.h | ||
mtu3_trace.c | ||
mtu3_trace.h | ||
mtu3.h |