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

Commit 11ba943d authored by Bhalchandra Gajare's avatar Bhalchandra Gajare
Browse files

ASoC: msm-cpe-lsm: Correct handling of stopping LAB thread



It is possible that the kthread used for LAB buffering could get stopped
even before it was scheduled. In such cases, the driver still waits for
the thread function to complete, which results into timeout and an error
sent to userspace. Fix handling of stopping LAB thread based on return
value of kthread_stop.

CRs-fixed: 866861
Change-Id: I854d4407ced4dd3b50339614872ee12a9478280f
Signed-off-by: default avatarBhalchandra Gajare <gajare@codeaurora.org>
parent 35afb780
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