Skip to content

Commit

Permalink
drivers/mailbox: msm_qmp: make qmp-mbox a suspendable irq
Browse files Browse the repository at this point in the history
This leads to misconfigured IRQs in kernel, waking up the cpu and
draining the battery when idle.

Change-Id: I11a56f42710e20d774982c5707496bc8110ad006
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
  • Loading branch information
mvaisakh authored and candyceline committed Nov 1, 2023
1 parent 32fe195 commit e69e118
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mailbox/msm_qmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,7 @@ static int qmp_mbox_probe(struct platform_device *pdev)
mdev->name);

ret = devm_request_irq(&pdev->dev, mdev->rx_irq_line, qmp_irq_handler,
IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND | IRQF_SHARED,
edge_node->name, mdev);
IRQF_TRIGGER_RISING | IRQF_SHARED, edge_node->name, mdev);
if (ret < 0) {
qmp_mbox_remove(pdev);
QMP_ERR(mdev->ilc, "request irq on %d failed: %d\n",
Expand Down

0 comments on commit e69e118

Please sign in to comment.