@@ -273,7 +273,7 @@ static int adsp_memory_remap_init(struct device *dev, struct mtk_adsp_chip_info
273273static int mt8365_run (struct snd_sof_dev * sdev )
274274{
275275 dev_dbg (sdev -> dev , "HIFIxDSP boot from base : 0x%08X\n" , SRAM_PHYS_BASE_FROM_DSP_VIEW );
276- sof_hifixdsp_boot_sequence (sdev , SRAM_PHYS_BASE_FROM_DSP_VIEW );
276+ mt8365_sof_hifixdsp_boot_sequence (sdev , SRAM_PHYS_BASE_FROM_DSP_VIEW );
277277
278278 return 0 ;
279279}
@@ -306,9 +306,9 @@ static int mt8365_dsp_probe(struct snd_sof_dev *sdev)
306306 return - EINVAL ;
307307 }
308308
309- ret = adsp_clock_on (sdev );
309+ ret = mt8365_adsp_clock_on (sdev );
310310 if (ret ) {
311- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
311+ dev_err (sdev -> dev , "mt8365_adsp_clock_on fail!\n" );
312312 return - EINVAL ;
313313 }
314314
@@ -375,7 +375,7 @@ static int mt8365_dsp_probe(struct snd_sof_dev *sdev)
375375err_adsp_sram_power_off :
376376 adsp_sram_power_on (& pdev -> dev , false);
377377exit_clk_disable :
378- adsp_clock_off (sdev );
378+ mt8365_adsp_clock_off (sdev );
379379
380380 return ret ;
381381}
@@ -392,7 +392,7 @@ static void mt8365_dsp_remove(struct snd_sof_dev *sdev)
392392
393393 platform_device_unregister (priv -> ipc_dev );
394394 adsp_sram_power_on (& pdev -> dev , false);
395- adsp_clock_off (sdev );
395+ mt8365_adsp_clock_off (sdev );
396396}
397397
398398static int mt8365_dsp_suspend (struct snd_sof_dev * sdev , u32 target_state )
@@ -401,7 +401,7 @@ static int mt8365_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
401401 int ret ;
402402
403403 /* reset dsp */
404- sof_hifixdsp_shutdown (sdev );
404+ mt8365_sof_hifixdsp_shutdown (sdev );
405405
406406 /* power down adsp sram */
407407 ret = adsp_sram_power_on (& pdev -> dev , false);
@@ -411,17 +411,17 @@ static int mt8365_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
411411 }
412412
413413 /* turn off adsp clock */
414- return adsp_clock_off (sdev );
414+ return mt8365_adsp_clock_off (sdev );
415415}
416416
417417static int mt8365_dsp_resume (struct snd_sof_dev * sdev )
418418{
419419 int ret ;
420420
421421 /* turn on adsp clock */
422- ret = adsp_clock_on (sdev );
422+ ret = mt8365_adsp_clock_on (sdev );
423423 if (ret ) {
424- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
424+ dev_err (sdev -> dev , "mt8365_adsp_clock_on fail!\n" );
425425 return ret ;
426426 }
427427
0 commit comments