* [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED
@ 2014-04-27 10:25 Axel Lin
2014-05-23 8:39 ` Axel Lin
2014-06-16 11:55 ` Ulf Hansson
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2014-04-27 10:25 UTC (permalink / raw)
To: linux-arm-kernel
It's a NOOP since 2.6.35 and it will be removed one day.
This is not trivial because current code uses hard coded 32 instead of
IRQF_DISABLED in the request_irq call.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
This patch was sent on:
http://www.spinics.net/lists/linux-mmc/msg22644.html
drivers/mmc/host/wmt-sdmmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
index 5501c9f..8a48a50 100644
--- a/drivers/mmc/host/wmt-sdmmc.c
+++ b/drivers/mmc/host/wmt-sdmmc.c
@@ -829,7 +829,7 @@ static int wmt_mci_probe(struct platform_device *pdev)
goto fail3;
}
- ret = request_irq(dma_irq, wmt_mci_dma_isr, 32, "sdmmc", priv);
+ ret = request_irq(dma_irq, wmt_mci_dma_isr, 0, "sdmmc", priv);
if (ret) {
dev_err(&pdev->dev, "Register DMA IRQ fail\n");
goto fail4;
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED
2014-04-27 10:25 [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED Axel Lin
@ 2014-05-23 8:39 ` Axel Lin
2014-06-16 11:55 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Axel Lin @ 2014-05-23 8:39 UTC (permalink / raw)
To: linux-arm-kernel
2014-04-27 18:25 GMT+08:00 Axel Lin <axel.lin@ingics.com>:
> It's a NOOP since 2.6.35 and it will be removed one day.
> This is not trivial because current code uses hard coded 32 instead of
> IRQF_DISABLED in the request_irq call.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> This patch was sent on:
> http://www.spinics.net/lists/linux-mmc/msg22644.html
>
> drivers/mmc/host/wmt-sdmmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
> index 5501c9f..8a48a50 100644
> --- a/drivers/mmc/host/wmt-sdmmc.c
> +++ b/drivers/mmc/host/wmt-sdmmc.c
> @@ -829,7 +829,7 @@ static int wmt_mci_probe(struct platform_device *pdev)
> goto fail3;
> }
>
> - ret = request_irq(dma_irq, wmt_mci_dma_isr, 32, "sdmmc", priv);
> + ret = request_irq(dma_irq, wmt_mci_dma_isr, 0, "sdmmc", priv);
Hi Ulf,
Would you pick up this one?
I have no idea why current uses hard-coded 32 rather than IRQF_DISABLED.
IRQF_DISABLED is marked as DEPRECATED anyway, so just set 0 for the flags
field of request_irq.
Regards,
Axel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED
2014-04-27 10:25 [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED Axel Lin
2014-05-23 8:39 ` Axel Lin
@ 2014-06-16 11:55 ` Ulf Hansson
1 sibling, 0 replies; 3+ messages in thread
From: Ulf Hansson @ 2014-06-16 11:55 UTC (permalink / raw)
To: linux-arm-kernel
On 27 April 2014 12:25, Axel Lin <axel.lin@ingics.com> wrote:
> It's a NOOP since 2.6.35 and it will be removed one day.
> This is not trivial because current code uses hard coded 32 instead of
> IRQF_DISABLED in the request_irq call.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Thanks! Applied for next.
Kind regards
Uffe
> ---
> This patch was sent on:
> http://www.spinics.net/lists/linux-mmc/msg22644.html
>
> drivers/mmc/host/wmt-sdmmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
> index 5501c9f..8a48a50 100644
> --- a/drivers/mmc/host/wmt-sdmmc.c
> +++ b/drivers/mmc/host/wmt-sdmmc.c
> @@ -829,7 +829,7 @@ static int wmt_mci_probe(struct platform_device *pdev)
> goto fail3;
> }
>
> - ret = request_irq(dma_irq, wmt_mci_dma_isr, 32, "sdmmc", priv);
> + ret = request_irq(dma_irq, wmt_mci_dma_isr, 0, "sdmmc", priv);
> if (ret) {
> dev_err(&pdev->dev, "Register DMA IRQ fail\n");
> goto fail4;
> --
> 1.8.1.2
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-06-16 11:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-27 10:25 [RESEND][PATCH] mmc: wmt-sdmmc: Remove deprecated IRQF_DISABLED Axel Lin
2014-05-23 8:39 ` Axel Lin
2014-06-16 11:55 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).