]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:08:43 +0000 (09:08 +0200)
commit6e985ece402d887a97b3a4efdfd6e9114107992c
tree084476c6c6581533bdb9846f532e3541aad1e5cd
parent6056f0e5a5ab11a122de66875c274985145d58a2
extcon: axp288: Add wakeup support

commit b78c4c791825b7e6852f4db4db0a27308b87e50c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-axp288.c