]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mfd: sec: Fix IRQ domain names duplication
authorAndré Draszik <andre.draszik@linaro.org>
Mon, 5 Jan 2026 16:25:46 +0000 (16:25 +0000)
committerLee Jones <lee@kernel.org>
Thu, 22 Jan 2026 14:23:26 +0000 (14:23 +0000)
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>
drivers/mfd/sec-irq.c

index e0dd122e8fe5ad86ae1e97dc1a4b1605d1813a64..4c0faf4c998931515003bd8f8744861e1ffbaf82 100644 (file)
@@ -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,