hal : Fix for stability offload issues.
-Disable and enable the device seperately from
check_usecases_codec_backend function.
-Acquire device lock for pcm close. This prevents crash during
headset device switch and fast forward.
-hw free is getting called from compress framework while runtime
update is going on. The front end list could be cleared during
runtime update and concurrent access of front end list could
result a crash.
CRs-Fixed: 568710
Change-Id: Iccc2b9d3c175a5421cfc4d070b0af3906d9080c5
1 file changed