]> git.ipfire.org Git - thirdparty/kernel/stable.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:11:07 +0000 (09:11 +0200)
commit83ca627eccee2ebb8de72c24822106226e62cb32
tree5a4a68d81fa1892dcd4e02175a766ca03935df08
parent5698100982a192f0505c64e6a975d22008110fc7
extcon: axp288: Add wakeup support

commit 9c94553099efb2ba873cbdddfd416a8a09d0e5f1 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