diff options
-rw-r--r-- | drivers/dma/mmp_pdma.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/dma/mmp_pdma.c b/drivers/dma/mmp_pdma.c index b439679f4126..bf02e7beb51a 100644 --- a/drivers/dma/mmp_pdma.c +++ b/drivers/dma/mmp_pdma.c | |||
@@ -867,8 +867,8 @@ static int mmp_pdma_chan_init(struct mmp_pdma_device *pdev, int idx, int irq) | |||
867 | phy->base = pdev->base; | 867 | phy->base = pdev->base; |
868 | 868 | ||
869 | if (irq) { | 869 | if (irq) { |
870 | ret = devm_request_irq(pdev->dev, irq, mmp_pdma_chan_handler, 0, | 870 | ret = devm_request_irq(pdev->dev, irq, mmp_pdma_chan_handler, |
871 | "pdma", phy); | 871 | IRQF_SHARED, "pdma", phy); |
872 | if (ret) { | 872 | if (ret) { |
873 | dev_err(pdev->dev, "channel request irq fail!\n"); | 873 | dev_err(pdev->dev, "channel request irq fail!\n"); |
874 | return ret; | 874 | return ret; |
@@ -957,8 +957,8 @@ static int mmp_pdma_probe(struct platform_device *op) | |||
957 | if (irq_num != dma_channels) { | 957 | if (irq_num != dma_channels) { |
958 | /* all chan share one irq, demux inside */ | 958 | /* all chan share one irq, demux inside */ |
959 | irq = platform_get_irq(op, 0); | 959 | irq = platform_get_irq(op, 0); |
960 | ret = devm_request_irq(pdev->dev, irq, mmp_pdma_int_handler, 0, | 960 | ret = devm_request_irq(pdev->dev, irq, mmp_pdma_int_handler, |
961 | "pdma", pdev); | 961 | IRQF_SHARED, "pdma", pdev); |
962 | if (ret) | 962 | if (ret) |
963 | return ret; | 963 | return ret; |
964 | } | 964 | } |