usb: typec: ucsi: Role swapping fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | usb: typec: ucsi: Fix reuse of completion structuredrivers/ | +4 | 0 replies | |
| 2/2 | usb: typec: ucsi: Fix role swappingdrivers/ | +13 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Jack Pham | Jia-Ju Bai |
|---|---|---|
| 1/2 | Reported-and-suggested-by | |
| 2/2 | Reported-and-tested-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/2] usb: typec: ucsi: Role swapping fixes
Hi,
It appears these role swapping routines have been broken for a while. The role swap UCSI commands always actually did work, and the roles were most likely always swapped, but these operations just always appeared to fail because of these bugs.
I'm guessing that has kept the problem hidden. Nobody cared about the return values from these operations. It was enough that the roles were swapped in the end.
thanks,
Heikki Krogerus (2):
usb: typec: ucsi: Fix reuse of completion structure
usb: typec: ucsi: Fix role swapping
drivers/usb/typec/ucsi/ucsi.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1