Commit 66e0ea3
usb: dwc3: core: Defer the probe until USB power supply ready
Currently, DWC3 driver attempts to acquire the USB power supply only
once during the probe. If the USB power supply is not ready at that
time, the driver simply ignores the failure and continues the probe,
leading to permanent non-functioning of the gadget vbus_draw callback.
Address this problem by delaying the dwc3 driver initialization until
the USB power supply is registered.
Fixes: 6f0764b ("usb: dwc3: add a power supply for current control")
Cc: stable <[email protected]>
Signed-off-by: Kyle Tso <[email protected]>
Acked-by: Thinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 81702d4 commit 66e0ea3
1 file changed
+21
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1684 | 1684 | | |
1685 | 1685 | | |
1686 | 1686 | | |
1687 | | - | |
1688 | | - | |
1689 | 1687 | | |
1690 | 1688 | | |
1691 | 1689 | | |
| |||
1720 | 1718 | | |
1721 | 1719 | | |
1722 | 1720 | | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
1730 | 1721 | | |
1731 | 1722 | | |
1732 | 1723 | | |
| |||
2129 | 2120 | | |
2130 | 2121 | | |
2131 | 2122 | | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
2132 | 2140 | | |
2133 | 2141 | | |
2134 | 2142 | | |
| |||
2185 | 2193 | | |
2186 | 2194 | | |
2187 | 2195 | | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
2188 | 2200 | | |
2189 | 2201 | | |
2190 | 2202 | | |
| |||
0 commit comments