Skip to content
Unverified Commit f2437e48 authored by Jon Flatley's avatar Jon Flatley Committed by Benson Leung
Browse files

power: supply: cros-ec-usbpd-charger: Fix host events



There's a bug on ACPI platforms where host events from the ECPD ACPI
device never make their way to the cros-ec-usbpd-charger driver. This
makes it so the only time the charger driver updates its state is when
user space accesses its sysfs attributes.

Now that these events have been unified into a single notifier chain on
both ACPI and non-ACPI platforms, update the charger driver to use this
new notifier.

Reviewed-by: default avatarBenson Leung <bleung@chromium.org>
Co-Developed-by: default avatarPrashant Malani <pmalani@chromium.org>
Signed-off-by: default avatarJon Flatley <jflat@chromium.org>
Signed-off-by: default avatarPrashant Malani <pmalani@chromium.org>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
parent ec2daf6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment