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

Skip to content
Commit 14ab23a0 authored by Harsh Shah's avatar Harsh Shah
Browse files

msm: camera: isp: Fix race condition in tasklet stop



This change sets the atomic variable tasklet_active to 0 in
stop before calling flush. This also adds call to tasklet_kill
before tasklet_disable in stop. This will fix a race condition
between tasklet stop/enqueue. And it will ensure the tasklet
is correctly halted and will not be raised repeatedly.

Change-Id: Ibf9f78b41e3201be50cdee8653dd4e64d2142fbd
Signed-off-by: default avatarHarsh Shah <harshs@codeaurora.org>
parent f1740cd8
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