summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorAidan MacDonald <aidanmacdonald.0x0@gmail.com>2022-11-12 16:18:21 +0100
committerLee Jones <lee@kernel.org>2022-12-07 14:28:14 +0100
commit3576fc04594989426c61c8b46dfcc986b6f76a22 (patch)
tree4e4debad6ea364a319c094de14f0785db506cd67 /drivers/mfd
parentmfd: axp20x: Replace irqchip mask_invert with unmask_base (diff)
downloadlinux-3576fc04594989426c61c8b46dfcc986b6f76a22.tar.xz
linux-3576fc04594989426c61c8b46dfcc986b6f76a22.zip
mfd: gateworks-gsc: 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> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221112151835.39059-5-aidanmacdonald.0x0@gmail.com
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/gateworks-gsc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index 9d7d870c44a8..c954ed265de8 100644
--- a/drivers/mfd/gateworks-gsc.c
+++ b/drivers/mfd/gateworks-gsc.c
@@ -189,8 +189,7 @@ static const struct regmap_irq_chip gsc_irq_chip = {
.num_irqs = ARRAY_SIZE(gsc_irqs),
.num_regs = 1,
.status_base = GSC_IRQ_STATUS,
- .mask_base = GSC_IRQ_ENABLE,
- .mask_invert = true,
+ .unmask_base = GSC_IRQ_ENABLE,
.ack_base = GSC_IRQ_STATUS,
.ack_invert = true,
};