Commit a283845
usb: dwc2: gadget: resume the core even if no gadget driver is bound.
When no gadget driver has been bound, at least re-initialize the core as
disconnected. It addresses the case when a device gets plugged-in later
(e.g. dwc2 switches to host). This way, the necessary low level init has
been done to switch to host mode.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Change-Id: Ic4c8b8a0bb57c0f6afab5ac613d47d8d2ae8c3df
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/461204
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>1 parent d57b026 commit a283845
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5320 | 5320 | | |
5321 | 5321 | | |
5322 | 5322 | | |
| 5323 | + | |
| 5324 | + | |
5323 | 5325 | | |
5324 | 5326 | | |
5325 | 5327 | | |
5326 | 5328 | | |
5327 | | - | |
5328 | | - | |
5329 | 5329 | | |
5330 | 5330 | | |
5331 | 5331 | | |
5332 | 5332 | | |
5333 | 5333 | | |
5334 | | - | |
5335 | 5334 | | |
| 5335 | + | |
5336 | 5336 | | |
5337 | 5337 | | |
5338 | 5338 | | |
| |||
0 commit comments