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

From: Krzysztof Kozlowski
Date: Wed Sep 05 2018 - 09:40:17 EST


On Wed, 5 Sep 2018 at 13:54, Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> 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(-)

Reviewed-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof