Re: [PATCH v2] mfd: max8997: Enale irq-wakeup unconditionally

From: Lee Jones
Date: Tue Sep 11 2018 - 10:44:29 EST


On Wed, 05 Sep 2018, Marek Szyprowski wrote:

> 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@xxxxxxxxxxx>
> ---
> changelog:
> v2:
> - removed pdata->wakeup entry as suggested by Krzysztof Kozlowski
> ---
> drivers/mfd/max8997.c | 8 +-------
> include/linux/mfd/max8997.h | 1 -
> 2 files changed, 1 insertion(+), 8 deletions(-)

Applied, thanks.

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog