pinctrl: intel: set default handler to be handle_bad_irq()
Subsystems (3)
PATCH 1/1 pinctrl: intel: set default handler to be handle_bad_irq()
We switch the default handler to be handle_bad_irq() instead of handle_simple_irq() (which was not correct anyway).
Cc Mika Westerberg <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
--- drivers/pinctrl/intel/pinctrl-baytrail.c | 2 +- drivers/pinctrl/intel/pinctrl-intel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/pinctrl/intel/pinctrl-baytrail.c +1 -1
@@ -1703,7 +1703,7 @@ static int byt_gpio_probe(struct byt_gpio *vg)if (irq_rc && irq_rc->start) {byt_gpio_irq_init_hw (vg); ret =gpiochip_irqchip_add (gc, &byt_irqchip,0 , - handle_simple_irq,IRQ_TYPE_NONE ); + handle_bad_irq,IRQ_TYPE_NONE );if (ret) {dev_err (&vg->pdev->dev,"failed to add irqchip\n" ); goto fail;
drivers/pinctrl/intel/pinctrl-intel.c +1 -1
@@ -911,7 +911,7 @@ static int intel_gpio_probe(struct intel_pinctrl *pctrl, int irq) } ret =gpiochip_irqchip_add (&pctrl->chip, &intel_gpio_irqchip,0 , - handle_simple_irq,IRQ_TYPE_NONE ); + handle_bad_irq,IRQ_TYPE_NONE );if (ret) {dev_err (pctrl->dev,"failed to add irqchip\n" ); goto fail;
Signature · 1 line
2.10.2
Quoted 5 lines · Andy Shevchenko
We switch the default handler to be
handle_bad_irq()instead ofhandle_simple_irq()(which was not correct anyway).Cc Mika Westerberg <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>
I wonder if it makes sense to have this split into two patches instead?
In any case,
Acked-by Mika Westerberg <[email protected]>
Quoted 5 lines · Andy Shevchenko
We switch the default handler to be
handle_bad_irq()instead ofhandle_simple_irq()(which was not correct anyway).Cc Mika Westerberg <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>
Patch applied.
Yours,
Linus Walleij