This is a note to let you know that I've just added the patch titled usb: typec: ucsi: acpi: Always decode connector change information to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: usb-typec-ucsi-acpi-always-decode-connector-change-information.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 47ea2929d58c35598e681212311d35b240c373ce Mon Sep 17 00:00:00 2001 From: Benjamin Berg <bberg@xxxxxxxxxx> Date: Fri, 9 Oct 2020 16:40:46 +0200 Subject: usb: typec: ucsi: acpi: Always decode connector change information From: Benjamin Berg <bberg@xxxxxxxxxx> commit 47ea2929d58c35598e681212311d35b240c373ce upstream. Normal commands may be reporting that a connector has changed. Always call the usci_connector_change handler and let it take care of scheduling the work when needed. Doing this makes the ACPI code path identical to the CCG one. Cc: Hans de Goede <hdegoede@xxxxxxxxxx> Cc: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> Acked-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx> Signed-off-by: Benjamin Berg <bberg@xxxxxxxxxx> Link: https://lore.kernel.org/r/20201009144047.505957-2-benjamin@xxxxxxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/usb/typec/ucsi/ucsi_acpi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/drivers/usb/typec/ucsi/ucsi_acpi.c +++ b/drivers/usb/typec/ucsi/ucsi_acpi.c @@ -103,11 +103,12 @@ static void ucsi_acpi_notify(acpi_handle if (ret) return; + if (UCSI_CCI_CONNECTOR(cci)) + ucsi_connector_change(ua->ucsi, UCSI_CCI_CONNECTOR(cci)); + if (test_bit(COMMAND_PENDING, &ua->flags) && cci & (UCSI_CCI_ACK_COMPLETE | UCSI_CCI_COMMAND_COMPLETE)) complete(&ua->complete); - else if (UCSI_CCI_CONNECTOR(cci)) - ucsi_connector_change(ua->ucsi, UCSI_CCI_CONNECTOR(cci)); } static int ucsi_acpi_probe(struct platform_device *pdev) Patches currently in stable-queue which might be from bberg@xxxxxxxxxx are queue-5.10/usb-typec-ucsi-acpi-always-decode-connector-change-information.patch queue-5.10/usb-typec-ucsi-work-around-ppm-losing-change-information.patch queue-5.10/usb-typec-ucsi-clear-pending-after-acking-connector-change.patch