drivers/pinctrl.c : Remove redundant clearing of IRQ_TYPE_SENSE_MASK
Subsystems (3)
PATCH 1/1 drivers/pinctrl.c : Remove redundant clearing of IRQ_TYPE_SENSE_MASK
Before executing microchip_sgpio_irq_set_type(),
type has already been cleared IRQ_TYPE_SENSE_MASK, see __irq_set_trigger().
Signed-off-by Lizhe <[email protected]>
--- drivers/pinctrl/pinctrl-microchip-sgpio.c | 2 -- 1 file changed, 2 deletions(-)
drivers/pinctrl/pinctrl-microchip-sgpio.c +0 -2
@@ -719,8 +719,6 @@ static void microchip_sgpio_irq_ack(struct irq_data *data)static int microchip_sgpio_irq_set_type (struct irq_data *data,unsigned int type) { - type &=IRQ_TYPE_SENSE_MASK ; -switch (type) {case IRQ_TYPE_EDGE_BOTH :irq_set_handler_locked (data, handle_edge_irq);
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 4 lines · Lizhe
Before executing
microchip_sgpio_irq_set_type(),
type has already been clearedIRQ_TYPE_SENSE_MASK, see__irq_set_trigger().Signed-off-by Lizhe <[email protected]>
Looks correct to me so patch applied.
Yours,
Linus Walleij