]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerMarcelo Henrique Cerri <marcelo.cerri@canonical.com>
Fri, 17 Jan 2020 17:20:55 +0000 (14:20 -0300)
commit2dfae9f148f161b79eaca9bf8041148bea1b18a4
treeee4930b11565f323fcb0a8a3bd6e602bfc0a4d3f
parent7eaa2a0902588b3c79bc71124a070c88a3160c6a
mfd: max8997: Enale irq-wakeup unconditionally

BugLink: https://bugs.launchpad.net/bugs/1854975
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
drivers/mfd/max8997.c
include/linux/mfd/max8997.h