]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mfd: max8997: Enale irq-wakeup unconditionally
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 5 Sep 2018 11:54:07 +0000 (13:54 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 23 Oct 2018 07:58:34 +0000 (08:58 +0100)
commitefddff27c886e729a7f84a7205bd84d7d4af7336
tree93d865d9ffa95507c4895bdfeea83ff87ccafbc8
parent8e27a5638ab5c1b5434a0c22bc43ec6c3f7f5b6b
mfd: max8997: Enale irq-wakeup unconditionally

IRQ wake up support for MAX8997 driver was initially configured by
respective property in pdata. However, after the driver conversion to
device-tree, setting it was left as 'todo'. Nowadays most of other PMIC MFD
drivers initialized from device-tree assume that they can be an irq wakeup
source, so enable it also for MAX8997. This fixes support for wakeup from
MAX8997 RTC alarm.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8997.c
include/linux/mfd/max8997.h