Skip to content

Commit 26908bb

Browse files
Panchajanya1999karthik558
authored andcommitted
soc: qcom: smp2p_sleepstate: Relax wakeup source on failing to register 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 <[email protected]> Signed-off-by: K A R T H I K <[email protected]>
1 parent 9fb03b4 commit 26908bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: drivers/soc/qcom/smp2p_sleepstate.c

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ static int smp2p_sleepstate_probe(struct platform_device *pdev)
9696
if (ret) {
9797
dev_err(&pdev->dev, "fail to register smp2p threaded_irq=%d\n",
9898
irq);
99+
__pm_relax(&notify_ws);
99100
goto err;
100101
}
101102
return 0;

0 commit comments

Comments
 (0)