asoc: wcd-dsp-mgr: reinit ssr ready flag for adsp/wdsp ssr

When adsp/wdsp SSR happens, WDSP_SSR_TYPE_WDSP_DOWN/WDSP_SSR_TYPE_CDC_DOWN
would get received by wcd-dsp-mgr. wcd-dsp-mgr would clear current work and
init wdsp when adsp is up and ready_compl flag is set to ready. Sometimes
ready_compl flag is not cleared and wdsp initialization would happen when
adsp/wdsp is down which would cause kernel panic.
Reinit ready_compl flag when adsp/wdsp SSR happens.

Change-Id: I45186abba7992ee6912c5b0da171ef37b04e2e71
Signed-off-by: Meng Wang <mengw@codeaurora.org>
1 file changed
tree: d16899487ed8bfba9cb46f4c4ef1aa6588234e44
  1. asoc/
  2. config/
  3. dsp/
  4. include/
  5. ipc/
  6. soc/
  7. Android.mk
  8. Makefile
  9. Makefile.am
  10. NOTICE