summaryrefslogtreecommitdiffstats
path: root/drivers/power/supply/Kconfig
diff options
context:
space:
mode:
authorJon Flatley <jflat@chromium.org>2020-01-24 15:18:38 -0800
committerBenson Leung <bleung@chromium.org>2020-02-10 11:01:33 -0800
commitf2437e48ac7ae0e99b8e76d88aaf24a9b2e6d3e2 (patch)
tree975c2d81b282fa1ed758323a98c01943b9ac73d6 /drivers/power/supply/Kconfig
parentec2daf6e33f9f9113ba085b6ff88592907b6f1ce (diff)
downloadlinux-stable-f2437e48ac7ae0e99b8e76d88aaf24a9b2e6d3e2.tar.gz
linux-stable-f2437e48ac7ae0e99b8e76d88aaf24a9b2e6d3e2.tar.bz2
linux-stable-f2437e48ac7ae0e99b8e76d88aaf24a9b2e6d3e2.zip
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: Benson Leung <bleung@chromium.org> Co-Developed-by: Prashant Malani <pmalani@chromium.org> Signed-off-by: Jon Flatley <jflat@chromium.org> Signed-off-by: Prashant Malani <pmalani@chromium.org> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Signed-off-by: Benson Leung <bleung@chromium.org>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r--drivers/power/supply/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 9a5591ab90d0..a6e191b4ff48 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -659,7 +659,7 @@ config CHARGER_RT9455
config CHARGER_CROS_USBPD
tristate "ChromeOS EC based USBPD charger"
- depends on CROS_EC
+ depends on CROS_USBPD_NOTIFY
default n
help
Say Y here to enable ChromeOS EC based USBPD charger