* [PATCH] irqchip: sl28cpld: Replace irqchip mask_invert with unmask_base
@ 2022-11-12 15:27 Aidan MacDonald
2022-11-16 7:05 ` Michael Walle
2022-11-26 13:34 ` [irqchip: irq/irqchip-next] irqchip/sl28cpld: " irqchip-bot for Aidan MacDonald
0 siblings, 2 replies; 3+ messages in thread
From: Aidan MacDonald @ 2022-11-12 15:27 UTC (permalink / raw)
To: michael, tglx, maz; +Cc: linux-kernel
Remove use of the deprecated mask_invert flag. Inverted mask
registers (where a '1' bit enables an IRQ) can be described more
directly as an unmask register.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
---
drivers/irqchip/irq-sl28cpld.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-sl28cpld.c b/drivers/irqchip/irq-sl28cpld.c
index fbb354413ffa..f2172240172c 100644
--- a/drivers/irqchip/irq-sl28cpld.c
+++ b/drivers/irqchip/irq-sl28cpld.c
@@ -65,8 +65,7 @@ static int sl28cpld_intc_probe(struct platform_device *pdev)
irqchip->chip.num_irqs = ARRAY_SIZE(sl28cpld_irqs);
irqchip->chip.num_regs = 1;
irqchip->chip.status_base = base + INTC_IP;
- irqchip->chip.mask_base = base + INTC_IE;
- irqchip->chip.mask_invert = true;
+ irqchip->chip.unmask_base = base + INTC_IE;
irqchip->chip.ack_base = base + INTC_IP;
return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),
--
2.38.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] irqchip: sl28cpld: Replace irqchip mask_invert with unmask_base
2022-11-12 15:27 [PATCH] irqchip: sl28cpld: Replace irqchip mask_invert with unmask_base Aidan MacDonald
@ 2022-11-16 7:05 ` Michael Walle
2022-11-26 13:34 ` [irqchip: irq/irqchip-next] irqchip/sl28cpld: " irqchip-bot for Aidan MacDonald
1 sibling, 0 replies; 3+ messages in thread
From: Michael Walle @ 2022-11-16 7:05 UTC (permalink / raw)
To: Aidan MacDonald; +Cc: tglx, maz, linux-kernel
Am 2022-11-12 16:27, schrieb Aidan MacDonald:
> Remove use of the deprecated mask_invert flag. Inverted mask
> registers (where a '1' bit enables an IRQ) can be described more
> directly as an unmask register.
>
> Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Thanks,
-michael
^ permalink raw reply [flat|nested] 3+ messages in thread
* [irqchip: irq/irqchip-next] irqchip/sl28cpld: Replace irqchip mask_invert with unmask_base
2022-11-12 15:27 [PATCH] irqchip: sl28cpld: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-16 7:05 ` Michael Walle
@ 2022-11-26 13:34 ` irqchip-bot for Aidan MacDonald
1 sibling, 0 replies; 3+ messages in thread
From: irqchip-bot for Aidan MacDonald @ 2022-11-26 13:34 UTC (permalink / raw)
To: linux-kernel; +Cc: Aidan MacDonald, Michael Walle, Marc Zyngier, tglx
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: d502c558fd2b190c9125e8da54bef3f302fa9b15
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/d502c558fd2b190c9125e8da54bef3f302fa9b15
Author: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
AuthorDate: Sat, 12 Nov 2022 15:27:01
Committer: Marc Zyngier <maz@kernel.org>
CommitterDate: Sat, 26 Nov 2022 13:29:52
irqchip/sl28cpld: Replace irqchip mask_invert with unmask_base
Remove use of the deprecated mask_invert flag. Inverted mask
registers (where a '1' bit enables an IRQ) can be described more
directly as an unmask register.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@gmail.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221112152701.41990-1-aidanmacdonald.0x0@gmail.com
---
drivers/irqchip/irq-sl28cpld.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-sl28cpld.c b/drivers/irqchip/irq-sl28cpld.c
index fbb3544..f217224 100644
--- a/drivers/irqchip/irq-sl28cpld.c
+++ b/drivers/irqchip/irq-sl28cpld.c
@@ -65,8 +65,7 @@ static int sl28cpld_intc_probe(struct platform_device *pdev)
irqchip->chip.num_irqs = ARRAY_SIZE(sl28cpld_irqs);
irqchip->chip.num_regs = 1;
irqchip->chip.status_base = base + INTC_IP;
- irqchip->chip.mask_base = base + INTC_IE;
- irqchip->chip.mask_invert = true;
+ irqchip->chip.unmask_base = base + INTC_IE;
irqchip->chip.ack_base = base + INTC_IP;
return devm_regmap_add_irq_chip_fwnode(dev, dev_fwnode(dev),
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-26 13:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-12 15:27 [PATCH] irqchip: sl28cpld: Replace irqchip mask_invert with unmask_base Aidan MacDonald
2022-11-16 7:05 ` Michael Walle
2022-11-26 13:34 ` [irqchip: irq/irqchip-next] irqchip/sl28cpld: " irqchip-bot for Aidan MacDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®