Re: [PATCH 3/3] mfd: stmfx: disable irq in suspend to avoid spurious interrupt
From: Lee Jones
Date: Tue May 26 2020 - 03:59:06 EST
On Wed, 22 Apr 2020, Amelie Delaunay wrote:
> When STMFX supply is stopped, spurious interrupt can occur. To avoid that,
> disable the interrupt in suspend before disabling the regulator and
> re-enable it at the end of resume.
>
> Fixes: 06252ade9156 ("mfd: Add ST Multi-Function eXpander (STMFX) core driver")
> Signed-off-by: Amelie Delaunay <amelie.delaunay@xxxxxx>
> ---
> drivers/mfd/stmfx.c | 6 ++++++
> include/linux/mfd/stmfx.h | 1 +
> 2 files changed, 7 insertions(+)
Applied, thanks.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog