
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>
33 KiB
33 KiB