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, 6 Nov 2020 10:47:42 +0000 (11:47 +0100)
commit47ea2929d58c35598e681212311d35b240c373ce
tree33ef9aa6bbeea7be1bc95cf0041ccffeff15f6df
parent35ad0d901eac56ac6af2e4d726f255486c1ee36c
usb: typec: ucsi: acpi: Always decode connector change information

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