[PATCH v1 0/1] regulator: da9211: Fix crash when irqs are pre-enabled

From: Ricardo Ribalda
Date: Thu Nov 24 2022 - 11:45:56 EST


If the system does not come from reset (like when it is kexec()), the
regulator might have an IRQ waiting for us.

If we enable the IRQ handler before its structures are ready, we crash.

To: Support Opensource <support.opensource@xxxxxxxxxxx>
To: Liam Girdwood <lgirdwood@xxxxxxxxx>
To: Mark Brown <broonie@xxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Ricardo Ribalda <ribalda@xxxxxxxxxxxx>

---
Ricardo Ribalda (1):
regulator: da9211: Use irq handler when ready

drivers/regulator/da9211-regulator.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
---
base-commit: 4312098baf37ee17a8350725e6e0d0e8590252d4
change-id: 20221124-da9211-4b8904b4feb5

Best regards,
--
Ricardo Ribalda <ribalda@xxxxxxxxxxxx>