diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2021-06-28 17:53:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-27 15:59:18 +0200 |
commit | c6e23b89a95db73bb85be28079664c66389323f0 (patch) | |
tree | 74d975aef25c8fa33acc01836c93c6a7efb3a761 /drivers/usb/gadget/function/uvc.h | |
parent | usb: mtu3: support suspend/resume for dual-role mode (diff) | |
download | linux-c6e23b89a95db73bb85be28079664c66389323f0.tar.xz linux-c6e23b89a95db73bb85be28079664c66389323f0.zip |
usb: dwc3: gadget: set gadgets parent to the right controller
In case of dwc3 it is possible that the sysdev is the parent of the
controller. To ensure the right dev is set to the gadget's dev parent we
will hand over sysdev instead of dev, which will always point to the
controller.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20210628155311.16762-2-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/uvc.h')
0 files changed, 0 insertions, 0 deletions