drivers/gpio : Remove redundant clearing of IRQ_TYPE_SENSE_MASK
Subsystems (5)
PATCH 1/1 drivers/gpio : 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().
--- arch/arm/plat-orion/gpio.c | 1 - drivers/gpio/gpio-mvebu.c | 1 - 2 files changed, 2 deletions(-)
arch/arm/plat-orion/gpio.c +0 -1
@@ -364,7 +364,6 @@ static int gpio_irq_set_type(struct irq_data *d, u32 type)return -EINVAL ; } - type &=IRQ_TYPE_SENSE_MASK ;if (type ==IRQ_TYPE_NONE )return -EINVAL ;
drivers/gpio/gpio-mvebu.c +0 -1
@@ -505,7 +505,6 @@ static int mvebu_gpio_irq_set_type(struct irq_data *d, unsigned int type)if ((u &BIT (pin)) ==0 )return -EINVAL ; - type &=IRQ_TYPE_SENSE_MASK ;if (type ==IRQ_TYPE_NONE )return -EINVAL ;
Signature · 7 lines
2.34.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 15 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]>--- arch/arm/plat-orion/gpio.c | 1 - drivers/gpio/gpio-mvebu.c | 1 - 2 files changed, 2 deletions(-)arch/arm/plat-orion/gpio.c +0
-0
arch/arm/plat-orion/gpio.c static int gpio_irq_set_type(struct irq_data *d, u32 type) · line 369
Quoted 7 lines
arch/arm/plat-orion/gpio.c +0
-1@@ -364,7 +364,6 @@ static int gpio_irq_set_type(struct irq_data *d, u32 type)return -EINVAL ; } - type &=IRQ_TYPE_SENSE_MASK ;if (type ==IRQ_TYPE_NONE )return -EINVAL ;
What have you not understood about splitting this into two patches?
Bart
Quoted 13 lines
drivers/gpio/gpio-mvebu.c +0
-2@@ -505,7 +505,6 @@ static int mvebu_gpio_irq_set_type(struct irq_data *d, unsigned int type)if ((u &BIT (pin)) ==0 )return -EINVAL ; - type &=IRQ_TYPE_SENSE_MASK ;if (type ==IRQ_TYPE_NONE )return -EINVAL ; --
Quoted 2 lines
2.34.1
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Russell King (Oracle)
maintainerQuoted 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]>
Please do as Bart has requested.
Your patch touches two files, each of which are managed by *different* people via *different* trees. Re-posting your patch will *not* get it applied, because the reason it can't be applied is because you have not split it as people have asked you to do.
So, there is no point you re-posting it in its current form. You will only make people frustrated, and if that continues, you will end up being ignored.
Thanks.
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!