Skip to content

Commit 8d9ad03

Browse files
Aidan MacDonaldlag-linaro
authored andcommitted
mfd: sun4i-gpadc: 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 <[email protected]> Reviewed-by: Samuel Holland <[email protected]> Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c79e387 commit 8d9ad03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/mfd/sun4i-gpadc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ static const struct regmap_irq_chip sun4i_gpadc_regmap_irq_chip = {
3434
.name = "sun4i_gpadc_irq_chip",
3535
.status_base = SUN4I_GPADC_INT_FIFOS,
3636
.ack_base = SUN4I_GPADC_INT_FIFOS,
37-
.mask_base = SUN4I_GPADC_INT_FIFOC,
37+
.unmask_base = SUN4I_GPADC_INT_FIFOC,
3838
.init_ack_masked = true,
39-
.mask_invert = true,
4039
.irqs = sun4i_gpadc_regmap_irq,
4140
.num_irqs = ARRAY_SIZE(sun4i_gpadc_regmap_irq),
4241
.num_regs = 1,

0 commit comments

Comments
 (0)