]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: ucsi: acpi: Implement resume callback
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Fri, 7 Oct 2022 10:09:51 +0000 (13:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Oct 2022 10:39:01 +0000 (12:39 +0200)
commit90ca2b304bf01e97d6bc06a6d0e8b5665f29fbfb
tree4abbc098100d1927eeae02063bb327162b65b3d2
parentd27e22eb0ae2c00ee7dcc4283758a17d495b6c46
usb: typec: ucsi: acpi: Implement resume callback

The ACPI driver needs to resume the interface by calling
ucsi_resume(). Otherwise we may fail to detect connections
and disconnections that happen while the system is
suspended.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=210425
Fixes: 05f26cca9782 ("usb: typec: ucsi: ccg: enable runtime pm support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20221007100951.43798-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/ucsi_acpi.c