zephyr/drivers/mfd
Andy Sinclair 7cf4eff731 drivers: mfd: npm1300: Fixed race condition in event callback
If an event occurs between the status registers being read and
the event being cleared, the interrupt line will remain active.

As the interrupt is edge triggered,  all future interrupts
will being ignored.  This problem will also occur if an I2C
transation fails in the callback.

The state of the interrupt pin is now checked at the end of the
callback, and a retry is attempted if the interrupt has not
been cleared.

Signed-off-by: Andy Sinclair <andy.sinclair@nordicsemi.no>
2023-10-23 12:55:04 +02:00
..
CMakeLists.txt mfd: Add NCT38xx multi-function driver 2023-09-11 11:00:47 +02:00
Kconfig mfd: Add NCT38xx multi-function driver 2023-09-11 11:00:47 +02:00
Kconfig.axp192 driver: regulator: Add support for AXP192 power management IC 2023-07-19 09:52:15 +00:00
Kconfig.nct38xx mfd: Add NCT38xx multi-function driver 2023-09-11 11:00:47 +02:00
Kconfig.npm1300 drivers: mfd: npm1300: Initial version 2023-06-19 11:02:58 +02:00
Kconfig.npm6001 drivers: mfd: npm6001: initial version 2023-05-24 19:39:55 -04:00
mfd_axp192.c drivers: gpio: AXP192 GPIO driver 2023-08-22 18:08:51 +02:00
mfd_nct38xx.c gpio: nct38xx: Remove reg access wrappers 2023-09-11 11:00:47 +02:00
mfd_npm1300.c drivers: mfd: npm1300: Fixed race condition in event callback 2023-10-23 12:55:04 +02:00
mfd_npm6001.c drivers: mfd: npm6001: initial version 2023-05-24 19:39:55 -04:00