]> git.ipfire.org Git - people/arne_f/kernel.git/commit
usb: typec: ucsi: acpi: Always decode connector change information
authorBenjamin Berg <bberg@redhat.com>
Fri, 9 Oct 2020 14:40:46 +0000 (16:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Sep 2021 08:09:30 +0000 (10:09 +0200)
commit08953884aad457dca2670b94e10077a506f3be3d
tree9b7380dcd1507c8fd87d4b5cd1cf42b87f968bac
parent9a4f1dc8a17c8606ab0506cce63e554253677a53
usb: typec: ucsi: acpi: Always decode connector change information

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@redhat.com>
Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Benjamin Berg <bberg@redhat.com>
Link: https://lore.kernel.org/r/20201009144047.505957-2-benjamin@sipsolutions.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_acpi.c