diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2022-03-05 01:31:02 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2022-03-05 01:37:20 +0100 |
commit | 4487e89561252487608e227d7077cb2b2d79f37c (patch) | |
tree | 0db3477e774713d8e6ec89a6caaa05438e4521c9 /classes | |
parent | 5ca2385d660408eb7bb86215fc57e1f42b21baea (diff) |
libusbgx: fix device hot-plug use case
Upon hot-plugging device (resp. un-plugging host) dwc3_gadget_init()
does nicely get executed. However, for an actual gadget to get started,
it also requires the libusbgx dance as well. Instead of only doing this
upon boot aka after multi-user.target (which is fine only if the device
is already there at boot), execute it after usb-gadget.target. This
ensures dwc3_gadget_start() gets executed also during hot-plugging.
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'classes')
0 files changed, 0 insertions, 0 deletions