Commit f82060d
usb: typec: ucsi: Don't attempt to resume the ports before they exist
This will fix null pointer dereference that was caused by
the driver attempting to resume ports that were not yet
registered.
Fixes: e0dced9 ("usb: typec: ucsi: Resume in separate work")
Cc: <[email protected]>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216697
Signed-off-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 30d09b3 commit f82060d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
1272 | 1275 | | |
1273 | 1276 | | |
1274 | 1277 | | |
| |||
1300 | 1303 | | |
1301 | 1304 | | |
1302 | 1305 | | |
1303 | | - | |
| 1306 | + | |
| 1307 | + | |
1304 | 1308 | | |
1305 | 1309 | | |
1306 | 1310 | | |
| |||
1420 | 1424 | | |
1421 | 1425 | | |
1422 | 1426 | | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
1423 | 1430 | | |
1424 | 1431 | | |
1425 | 1432 | | |
| |||
0 commit comments