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:
Banajit Goswami <bgoswami@codeaurora.org>
Loading
Please register or sign in to comment