summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@linaro.org>2026-01-05 19:25:46 +0300
committerLee Jones <lee@kernel.org>2026-01-22 17:23:26 +0300
commitb60c2dba6d3c3ad72a7c30bbd8eda07d8a49bc7f (patch)
tree1af2a8be97ee3ce4af59e2a9ca7909e3911f0cf1
parent8f34c1a64c5394d2b51d3fba197947dc4b0b48a0 (diff)
downloadlinux-b60c2dba6d3c3ad72a7c30bbd8eda07d8a49bc7f.tar.xz
mfd: sec: Fix IRQ domain names duplication
For the S2MPG10 IRQ and chained IRQ, regmap IRQ will try to create a folder with the same name which is impossible and fails with: debugfs: ':firmware:power-management:pmic' already exists in 'domains' Add domain_suffix to the chained IRQ chip driver to fix it. Fixes: ee19b52c31b3 ("mfd: sec: Use chained IRQs for s2mpg10") Signed-off-by: André Draszik <andre.draszik@linaro.org> Link: https://patch.msgid.link/20260105-s2mpg10-chained-irq-domain-suffix-v1-1-01ab16204b97@linaro.org Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r--drivers/mfd/sec-irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sec-irq.c b/drivers/mfd/sec-irq.c
index e0dd122e8fe5..4c0faf4c9989 100644
--- a/drivers/mfd/sec-irq.c
+++ b/drivers/mfd/sec-irq.c
@@ -198,6 +198,7 @@ static const struct regmap_irq_chip s2mpg10_irq_chip = {
static const struct regmap_irq_chip s2mpg10_irq_chip_pmic = {
.name = "s2mpg10-pmic",
+ .domain_suffix = "pmic",
.status_base = S2MPG10_PMIC_INT1,
.mask_base = S2MPG10_PMIC_INT1M,
.num_regs = 6,