OSDN Git Service

mfd: max8997: Enale irq-wakeup unconditionally
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 5 Sep 2018 11:54:07 +0000 (13:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 1 Dec 2019 08:16:57 +0000 (09:16 +0100)
commit0a6fa6119ab178a50dfb8c82921bac54b2982d56
tree1734ef394e4ebfbe2c034790a323cca89f94a22a
parent5a04242e8c2357dfb3dd0af4dbca24c5e0aa774a
mfd: max8997: Enale irq-wakeup unconditionally

[ Upstream commit efddff27c886e729a7f84a7205bd84d7d4af7336 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/max8997.c
include/linux/mfd/max8997.h