Merge "ASoC: wcd-dsp-mgr: fix restart logic when codec comes back online"
This commit is contained in:
commit
c60241fc75
1 changed files with 2 additions and 2 deletions
|
@ -717,8 +717,8 @@ static void wdsp_ssr_work_fn(struct work_struct *work)
|
|||
*/
|
||||
WDSP_CLEAR_STATUS(wdsp, WDSP_STATUS_CODE_DLOADED);
|
||||
|
||||
/* If codec went down, then all components must be re-initialized */
|
||||
if (wdsp->ssr_type == WDSP_SSR_TYPE_CDC_DOWN) {
|
||||
/* If codec restarted, then all components must be re-initialized */
|
||||
if (wdsp->ssr_type == WDSP_SSR_TYPE_CDC_UP) {
|
||||
wdsp_deinit_components(wdsp);
|
||||
WDSP_CLEAR_STATUS(wdsp, WDSP_STATUS_INITIALIZED);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue