Skip to content

Commit

Permalink
gpio: mpc8xxx: change the gpio interrupt flags.
Browse files Browse the repository at this point in the history
Delete the interrupt IRQF_NO_THREAD flags in order to gpio interrupts
can be threaded to allow high-priority processes to preempt.

Signed-off-by: Song Hui <hui.song_1@nxp.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
  • Loading branch information
brilliantsong authored and brgl committed Jun 15, 2020
1 parent 97cd738 commit 3d5bfbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpio/gpio-mpc8xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ static int mpc8xxx_probe(struct platform_device *pdev)

ret = devm_request_irq(&pdev->dev, mpc8xxx_gc->irqn,
mpc8xxx_gpio_irq_cascade,
IRQF_NO_THREAD | IRQF_SHARED, "gpio-cascade",
IRQF_SHARED, "gpio-cascade",
mpc8xxx_gc);
if (ret) {
dev_err(&pdev->dev, "%s: failed to devm_request_irq(%d), ret = %d\n",
Expand Down

0 comments on commit 3d5bfbd

Please sign in to comment.