2013-10-13 05:00:07

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] dma: coh901318: remove deprecated IRQF_DISABLED

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <[email protected]>
---
drivers/dma/coh901318.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
index 31011d2..3025b91 100644
--- a/drivers/dma/coh901318.c
+++ b/drivers/dma/coh901318.c
@@ -2694,7 +2694,7 @@ static int __init coh901318_probe(struct platform_device *pdev)
if (irq < 0)
return irq;

- err = devm_request_irq(&pdev->dev, irq, dma_irq_handler, IRQF_DISABLED,
+ err = devm_request_irq(&pdev->dev, irq, dma_irq_handler, 0,
"coh901318", base);
if (err)
return err;
--
1.8.1.2


2013-10-13 15:45:53

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dma: coh901318: remove deprecated IRQF_DISABLED

On Sun, Oct 13, 2013 at 07:00:00AM +0200, Michael Opdenacker wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
Applied, thanks

~Vinod

>
> Signed-off-by: Michael Opdenacker <[email protected]>
> ---
> drivers/dma/coh901318.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
> index 31011d2..3025b91 100644
> --- a/drivers/dma/coh901318.c
> +++ b/drivers/dma/coh901318.c
> @@ -2694,7 +2694,7 @@ static int __init coh901318_probe(struct platform_device *pdev)
> if (irq < 0)
> return irq;
>
> - err = devm_request_irq(&pdev->dev, irq, dma_irq_handler, IRQF_DISABLED,
> + err = devm_request_irq(&pdev->dev, irq, dma_irq_handler, 0,
> "coh901318", base);
> if (err)
> return err;
> --
> 1.8.1.2
>

--