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 |
||
---|---|---|
.. | ||
inc | ||
src |