Input: sirfsoc-onkey - drop the IRQF_SHARED flag
Since the IRQ handler always returns IRQ_HANDLED it means this irq is not a shared IRQ at all. Or at least, the SW is not self-consistent now. Signed-off-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
864d3c0fe4
commit
5099817eaf
@ -127,7 +127,7 @@ static int sirfsoc_pwrc_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
irq = platform_get_irq(pdev, 0);
|
irq = platform_get_irq(pdev, 0);
|
||||||
error = devm_request_irq(&pdev->dev, irq,
|
error = devm_request_irq(&pdev->dev, irq,
|
||||||
sirfsoc_pwrc_isr, IRQF_SHARED,
|
sirfsoc_pwrc_isr, 0,
|
||||||
"sirfsoc_pwrc_int", pwrcdrv);
|
"sirfsoc_pwrc_int", pwrcdrv);
|
||||||
if (error) {
|
if (error) {
|
||||||
dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n",
|
dev_err(&pdev->dev, "unable to claim irq %d, error: %d\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user