diff mbox series

gpio: mpc8xxx: change the gpio interrupt flags.

Message ID 20200611102809.27829-1-hui.song_1@nxp.com (mailing list archive)
State Mainlined
Commit 3d5bfbd9716318b1ca5c38488aa69f64d38a9aa5
Headers show
Series gpio: mpc8xxx: change the gpio interrupt flags. | expand

Commit Message

Hui Song June 11, 2020, 10:28 a.m. UTC
From: Song Hui <hui.song_1@nxp.com>

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>
---
 drivers/gpio/gpio-mpc8xxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bartosz Golaszewski June 15, 2020, 8:14 a.m. UTC | #1
czw., 11 cze 2020 o 12:43 Hui Song <hui.song_1@nxp.com> napisaƂ(a):
>
> From: Song Hui <hui.song_1@nxp.com>
>
> 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>
> ---
>  drivers/gpio/gpio-mpc8xxx.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
> index 604dfec..1e86652 100644
> --- a/drivers/gpio/gpio-mpc8xxx.c
> +++ b/drivers/gpio/gpio-mpc8xxx.c
> @@ -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",
> --
> 2.9.5
>

Patch applied, thanks!

Bartosz
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c
index 604dfec..1e86652 100644
--- a/drivers/gpio/gpio-mpc8xxx.c
+++ b/drivers/gpio/gpio-mpc8xxx.c
@@ -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",