With suspend/resume tests on STM32MP157C-EV1 board, on which STMFX is used by
several devices, some errors could occurred: -6 when trying to restore STMFX
registers, spurious interrupts after disabling supply...
This patchset fixes all these issues and cleans IRQ init error path.
Amelie Delaunay (3):
mfd: stmfx: reset chip on resume as supply was disabled
mfd: stmfx: fix stmfx_irq_init error path
mfd: stmfx: disable irq in suspend to avoid spurious interrupt
drivers/mfd/stmfx.c | 22 ++++++++++++++++++++--
include/linux/mfd/stmfx.h | 1 +
2 files changed, 21 insertions(+), 2 deletions(-)