Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
perf: arm_dsu: Allow IRQ to be shared among devices.
Browse files Browse the repository at this point in the history
Some DSU devices use same IRQ.

Signed-off-by: Tuan Phan <[email protected]>
  • Loading branch information
tphan-ampere committed Apr 21, 2020
1 parent b9d8c8c commit c015bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/perf/arm_dsu_pmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ static int dsu_pmu_device_probe(struct platform_device *pdev)
if (!name)
return -ENOMEM;
rc = devm_request_irq(&pdev->dev, irq, dsu_pmu_handle_irq,
IRQF_NOBALANCING, name, dsu_pmu);
IRQF_NOBALANCING | IRQF_SHARED, name, dsu_pmu);
if (rc) {
dev_warn(&pdev->dev, "Failed to request IRQ %d\n", irq);
return rc;
Expand Down

0 comments on commit c015bb2

Please sign in to comment.