Skip to content

usb: typec: ucsi: Ack connector change early

Christian A. Ehrhardt linux-usb lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: typec: ucsi: Stop abuse of bit definitions from ucsi.hdrivers/usb/typec/ucsi/ucsi.h drivers/usb/typec/ucsi/ucsi_acpi.c drivers/usb/typec/ucsi/ucsi_stm32g0.c+3 -31 reply
2/3usb: typec: ucsi: Never send a lone connector change ackdrivers/usb/typec/ucsi/ucsi.c+21 -271 reply
3/3usb: typec: ucsi_acpi: Remove Dell quirkdrivers/usb/typec/ucsi/ucsi_acpi.c+1 -521 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDmitry BaryshkovHeikki Krogerus
SeriesT-b
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] usb: typec: ucsi: Ack connector change early

As briefly discussed here
https://lore.kernel.org/lkml/[email protected]/
acknowledge connector change events along with the first command in ucsi_handle_connector_change(). The connector lock should be sufficient to protect the rest of the function and the partner tasks.

This allows us to remove the Dell quirk in ucsi_acpi.c. Additionally, this reduces the number of commands that are sent with an un-acknowleged connector change event.

Christian A. Ehrhardt (3):
usb: typec: ucsi: Stop abuse of bit definitions from ucsi.h
usb: typec: ucsi: Never send a lone connector change ack
usb: typec: ucsi_acpi: Remove Dell quirk

 drivers/usb/typec/ucsi/ucsi.c         | 48 ++++++++++-------------
 drivers/usb/typec/ucsi/ucsi.h         |  2 -
 drivers/usb/typec/ucsi/ucsi_acpi.c    | 56 ++-------------------------
 drivers/usb/typec/ucsi/ucsi_stm32g0.c |  1 +
 4 files changed, 25 insertions(+), 82 deletions(-)
Signature · 1 line
2.40.1