]> git.baikalelectronics.ru Git - kernel.git/commit
extcon: axp288: Add wakeup support
authorHans de Goede <hdegoede@redhat.com>
Mon, 23 Mar 2020 21:59:39 +0000 (22:59 +0100)
committerChanwoo Choi <cw00.choi@samsung.com>
Tue, 24 Mar 2020 23:16:14 +0000 (08:16 +0900)
commitb78c4c791825b7e6852f4db4db0a27308b87e50c
tree914a3564b4697ae23da9092b76b5849e02fdfdc2
parent0edb01b1c577f94f05356025749ba8251d432e67
extcon: axp288: Add wakeup support

On devices with an AXP288, we need to wakeup from suspend when a charger
is plugged in, so that we can do charger-type detection and so that the
axp288-charger driver, which listens for our extcon events, can configure
the input-current-limit accordingly.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
drivers/extcon/extcon-axp288.c