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:
Harsh Shah <harshs@codeaurora.org>
Loading
Please register or sign in to comment