[PATCH v2 0/3] mfd: Fix an out-of-bounds IRQ map and error-path bugs
From: shao.mingyin
Date: Thu Nov 26 2026 - 23:17:54 EST
This is the second revision of three fixes from the [PATCH 0/5] mfd
series posted on November 7, following Lee's review on November 18.
The 2/5 twl6030 change was not commented on and is not resent; the 5/5
gateworks-gsc change has its own history and is posted separately as v4.
Shao Mingyin (3):
mfd: tps65219: Fix the TPS65214 main IRQ bit mapping
mfd: arizona: Free only registered diagnostic IRQs
mfd: da9052: Balance the parent IRQ wake reference
drivers/mfd/arizona-core.c | 49 ++++++++++++++++++++++++++++++++-------
drivers/mfd/da9052-irq.c | 7 ++++--
drivers/mfd/tps65219.c | 14 +++++++------
include/linux/mfd/arizona/core.h | 1 +
include/linux/mfd/da9052/da9052.h | 1 +
5 files changed, 54 insertions(+), 18 deletions(-)
Changes in v2:
- 1/3: specify every table entry by its hardware bit index instead of
adding a placeholder entry for the reserved bit (Lee).
- 2/3: free only the diagnostic IRQs whose request succeeded, so probe
rollback cannot free a virq that has no action. Charles is asked for
another look, as his earlier tag covered the unconditional free.
- 3/3: request ADC_EOM before enabling wake, and keep the conditional
disable because an unbalanced wake disable warns (Lee).
v1: https://lore.kernel.org/all/202611071607376342uPiYA9rHRC7ZI9Ix-8xh@xxxxxxxxxx/
base-commit: e8017d29067fd1310a65c3494ce1a1b492adbac6