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

Commit d2109a07 authored by Banajit Goswami's avatar Banajit Goswami
Browse files

ASoC: msm: qdsp6v2: return 0 when wait_for_timeout succeed



The function wait_event_timeout returns the number of jiffies
remaining, if the condition it is waiting for, is met before
timeout happens. Update the return variable to 0, as returning
a non-zero value in Linux (returned by wait_event_timeout)
indicates an error.

Change-Id: Iddc9f4cb37348e6a1bcc91cdb6756b6fa90e17ec
Signed-off-by: default avatarBanajit Goswami <bgoswami@codeaurora.org>
parent 85f074ae
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