android_kernel_samsung_sm86.../scheduler
Arun Kumar Khandavalli 45a38684b0 qcacmn: Check if the scheduler thread is already flushed
During the module initialization the scheduler thread and the
init thread run in parallel if there is a failure in the error
path, the scheduler thread is not aware and still sending
the messages to firmware resulting in system instability.
So, Disable the scheduler as soon as there is an error in the init path
and the same scheduler thread in the normal existing error path.

If the scheduler_disable  is called multiple times the infinite wait
for result will get the init thread struck.

Change-Id: I39782bc88d49dac2e2138c235c4666ea4f4f2faf
CRs-Fixed: 2754023
2020-08-13 22:06:04 -07:00
..
inc qcacmn: Update scheduler_msg callback type 2020-06-27 06:18:28 -07:00
src qcacmn: Check if the scheduler thread is already flushed 2020-08-13 22:06:04 -07:00