Commit 429a98a
usb: typec: class: Unlocked on error in typec_register_partner()
We recently added some locking to this function but this error path
was accidentally missed. Unlock before returning.
Fixes: ec27386 ("usb: typec: class: Fix NULL pointer access")
Cc: stable <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 37ffdbd commit 429a98a
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1056 | 1056 | | |
1057 | 1057 | | |
1058 | 1058 | | |
| 1059 | + | |
1059 | 1060 | | |
1060 | 1061 | | |
1061 | 1062 | | |
| |||
0 commit comments