summaryrefslogtreecommitdiff
path: root/drivers/acpi/sleep.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-04-19 15:02:12 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-04-19 23:53:35 +0300
commit6c4c9a9a4a294a2e85784d0eaf6a4f833ee99752 (patch)
tree614be33bd04bc1b457a7e9e898a090f6f5010990 /drivers/acpi/sleep.c
parentaf3ec837b84befedde35a2239f873f6cd7c09e68 (diff)
downloadlinux-6c4c9a9a4a294a2e85784d0eaf6a4f833ee99752.tar.xz
power: supply: axp288_charger: Only wait for INT3496 device if present
On some devices with an axp288 pmic setting vbus path based on the id-pin is handled by an ACPI _AIE interrupt on the gpio and the INT3496 device is disabled. Instead of returning -EPROBE_DEFER on these devices waiting for the never to show up INT3496 device, check for its presence and only request and monitor the matching extcon if the device is there, otherwise let the firmware handle the vbus path control. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/sleep.c')
0 files changed, 0 insertions, 0 deletions