@@ -168,7 +168,7 @@ int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw)
168
168
AVS_ROM_INIT_POLLING_US , SKL_ROM_INIT_TIMEOUT_US );
169
169
if (ret < 0 ) {
170
170
dev_err (adev -> dev , "rom init failed: %d, status: 0x%08x, lec: 0x%08x\n" ,
171
- ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
171
+ ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
172
172
avs_dsp_core_disable (adev , AVS_MAIN_CORE_MASK );
173
173
return ret ;
174
174
}
@@ -182,7 +182,7 @@ int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw)
182
182
hda_cldma_stop (cl );
183
183
if (ret < 0 ) {
184
184
dev_err (adev -> dev , "transfer fw failed: %d, status: 0x%08x, lec: 0x%08x\n" ,
185
- ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
185
+ ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
186
186
avs_dsp_core_disable (adev , AVS_MAIN_CORE_MASK );
187
187
return ret ;
188
188
}
@@ -316,7 +316,7 @@ avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge)
316
316
AVS_ROM_INIT_POLLING_US , APL_ROM_INIT_TIMEOUT_US );
317
317
if (ret < 0 ) {
318
318
dev_err (adev -> dev , "rom init failed: %d, status: 0x%08x, lec: 0x%08x\n" ,
319
- ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
319
+ ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
320
320
goto err ;
321
321
}
322
322
@@ -348,7 +348,7 @@ static int avs_imr_load_basefw(struct avs_dev *adev)
348
348
if (!ret ) {
349
349
dev_err (adev -> dev , "firmware ready timeout, status: 0x%08x, lec: 0x%08x\n" ,
350
350
snd_hdac_adsp_readl (adev , AVS_FW_REG_STATUS (adev )),
351
- snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
351
+ snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
352
352
avs_dsp_core_disable (adev , AVS_MAIN_CORE_MASK );
353
353
return - ETIMEDOUT ;
354
354
}
@@ -408,7 +408,7 @@ int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw)
408
408
snd_hdac_dsp_trigger (hstream , false);
409
409
if (ret < 0 ) {
410
410
dev_err (adev -> dev , "transfer fw failed: %d, status: 0x%08x, lec: 0x%08x\n" ,
411
- ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
411
+ ret , reg , snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
412
412
avs_dsp_core_disable (adev , AVS_MAIN_CORE_MASK );
413
413
}
414
414
@@ -590,7 +590,7 @@ static int avs_dsp_load_basefw(struct avs_dev *adev)
590
590
if (!ret ) {
591
591
dev_err (adev -> dev , "firmware ready timeout, status: 0x%08x, lec: 0x%08x\n" ,
592
592
snd_hdac_adsp_readl (adev , AVS_FW_REG_STATUS (adev )),
593
- snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR_CODE (adev )));
593
+ snd_hdac_adsp_readl (adev , AVS_FW_REG_ERROR (adev )));
594
594
avs_dsp_core_disable (adev , AVS_MAIN_CORE_MASK );
595
595
ret = - ETIMEDOUT ;
596
596
goto release_fw ;
0 commit comments