Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9d8ff620 authored by Konstantin Dorfman's avatar Konstantin Dorfman
Browse files

soc: qcom: spcom: fix rx path to support power collapse (cxpc)



This change replaces wait_for_completion() with
wait_for_completion_interruptible() variant for rx path.
This make possible for user process context to remain
TASK_INTERRUPTIBLE and receive signal during system suspend.
read() syscall returns -ERESTART to trigger repeat of the call.

Change-Id: Id469d606aaa900dc8f69a509d35dd6094723b031
Signed-off-by: default avatarKonstantin Dorfman <kdorfman@codeaurora.org>
parent 62bde515
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment