Files
android_kernel_samsung_sm86…/hif
Alok Kumar 7f4494ffc5 qcacmn: Avoid race condition between tasklet schedule and kill
Tasklet get stuck when cds_is_driver_recovering and the driver
state is unloading. It happens due to race between schedule of
tasklet and tasklet_kill. Here one thread is trying to disable &
kill the tasklet while another thread is trying to concurrently
schedule it.

Cancel the tasklet work and make tasklets[i].inited = false before
disabling the tasklet in ce_tasklet_kill() and validate if tasket is
inited before rescheduling the tasklet.

Change-Id: Ib6f4013a73bca8558da097b73535bb8a8f80354d
CRs-Fixed: 2290951
2018-08-21 12:31:40 -07:00
..
2018-08-10 18:11:12 -07:00