[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220620200644.1961936-39-aidanmacdonald.0x0@gmail.com>
Date: Mon, 20 Jun 2022 21:06:33 +0100
From: Aidan MacDonald <aidanmacdonald.0x0@...il.com>
To: broonie@...nel.org
Cc: agross@...nel.org, bjorn.andersson@...aro.org,
srinivas.kandagatla@...aro.org, bgoswami@...eaurora.org,
gregkh@...uxfoundation.org, rafael@...nel.org,
cw00.choi@...sung.com, krzysztof.kozlowski@...aro.org,
b.zolnierkie@...sung.com, myungjoo.ham@...sung.com,
michael@...le.cc, linus.walleij@...aro.org, brgl@...ev.pl,
tglx@...utronix.de, maz@...nel.org, lee.jones@...aro.org,
mani@...nel.org, cristian.ciocaltea@...il.com, wens@...e.org,
tharvey@...eworks.com, rjones@...eworks.com,
mazziesaccount@...il.com, orsonzhai@...il.com,
baolin.wang7@...il.com, zhang.lyra@...il.com,
jernej.skrabec@...il.com, samuel@...lland.org, lgirdwood@...il.com,
perex@...ex.cz, tiwai@...e.com, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-actions@...ts.infradead.org,
linux-arm-msm@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sunxi@...ts.linux.dev,
alsa-devel@...a-project.org
Subject: [PATCH 38/49] irqchip: sl28cpld: replace irqchip mask_invert with unmask_base
An inverted mask register can be described more directly
as an unmask register.
Signed-off-by: Aidan MacDonald <aidanmacdonald.0x0@...il.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.35.1
Powered by blists - more mailing lists