]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: ucsi: resume work after EC init
authorJameson Thies <jthies@google.com>
Tue, 4 Feb 2025 02:45:59 +0000 (02:45 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Feb 2025 08:29:07 +0000 (09:29 +0100)
commit7f7283183c62411ea50730b3d0728fedd9aceb21
tree63e8189ef195c867feee8e76bc45c07f5d122fdc
parentdcba69711fff8af4370cb4c00460db0bf47c7093
usb: typec: ucsi: resume work after EC init

A manual EC sysjump will restart the PPM and break communication with
the UCSI driver by disabling notifications in the initial PPM state.
Update cros_ec_ucsi to listen for PPM init events and treat them as a
system resume to re-establish communication with the PPM (ChromeOS EC).

Signed-off-by: Jameson Thies <jthies@google.com>
Reviewed-by: Ɓukasz Bartosik <ukaszb@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Link: https://lore.kernel.org/r/20250204024600.4138776-3-jthies@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/ucsi/cros_ec_ucsi.c