Skip to content

Commit

Permalink
soc: qcom: smp2p_sleepstate: Relax wakeup source on failing to regist…
Browse files Browse the repository at this point in the history
…er IRQ

smp2p_sleepstate_handler() already sets a wakeup event with a 200ms
timeout.
But in case an IRQ(threaded) fails to register, it will instantly
relax the wakeup source.
Alters no behaviour.

Change-Id: I5f77f70c9f2e3602e88450176fd87986ab75f6f7
Signed-off-by: Panchajanya1999 <panchajanya@azure-dev.live>
Signed-off-by: K A R T H I K <karthik.lal558@gmail.com>
  • Loading branch information
Panchajanya1999 authored and karthik558 committed Nov 16, 2021
1 parent 9fb03b4 commit 26908bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/soc/qcom/smp2p_sleepstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ static int smp2p_sleepstate_probe(struct platform_device *pdev)
if (ret) {
dev_err(&pdev->dev, "fail to register smp2p threaded_irq=%d\n",
irq);
__pm_relax(&notify_ws);
goto err;
}
return 0;
Expand Down

0 comments on commit 26908bb

Please sign in to comment.