@@ -270,7 +270,7 @@ static int adsp_memory_remap_init(struct device *dev, struct mtk_adsp_chip_info
270270static int mt8365_run (struct snd_sof_dev * sdev )
271271{
272272 dev_dbg (sdev -> dev , "HIFIxDSP boot from base : 0x%08X\n" , SRAM_PHYS_BASE_FROM_DSP_VIEW );
273- sof_hifixdsp_boot_sequence (sdev , SRAM_PHYS_BASE_FROM_DSP_VIEW );
273+ mt8365_sof_hifixdsp_boot_sequence (sdev , SRAM_PHYS_BASE_FROM_DSP_VIEW );
274274
275275 return 0 ;
276276}
@@ -303,9 +303,9 @@ static int mt8365_dsp_probe(struct snd_sof_dev *sdev)
303303 return - EINVAL ;
304304 }
305305
306- ret = adsp_clock_on (sdev );
306+ ret = mt8365_adsp_clock_on (sdev );
307307 if (ret ) {
308- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
308+ dev_err (sdev -> dev , "mt8365_adsp_clock_on fail!\n" );
309309 return - EINVAL ;
310310 }
311311
@@ -372,7 +372,7 @@ static int mt8365_dsp_probe(struct snd_sof_dev *sdev)
372372err_adsp_sram_power_off :
373373 adsp_sram_power_on (& pdev -> dev , false);
374374exit_clk_disable :
375- adsp_clock_off (sdev );
375+ mt8365_adsp_clock_off (sdev );
376376
377377 return ret ;
378378}
@@ -389,7 +389,7 @@ static void mt8365_dsp_remove(struct snd_sof_dev *sdev)
389389
390390 platform_device_unregister (priv -> ipc_dev );
391391 adsp_sram_power_on (& pdev -> dev , false);
392- adsp_clock_off (sdev );
392+ mt8365_adsp_clock_off (sdev );
393393}
394394
395395static int mt8365_dsp_suspend (struct snd_sof_dev * sdev , u32 target_state )
@@ -398,7 +398,7 @@ static int mt8365_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
398398 int ret ;
399399
400400 /* reset dsp */
401- sof_hifixdsp_shutdown (sdev );
401+ mt8365_sof_hifixdsp_shutdown (sdev );
402402
403403 /* power down adsp sram */
404404 ret = adsp_sram_power_on (& pdev -> dev , false);
@@ -408,17 +408,17 @@ static int mt8365_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
408408 }
409409
410410 /* turn off adsp clock */
411- return adsp_clock_off (sdev );
411+ return mt8365_adsp_clock_off (sdev );
412412}
413413
414414static int mt8365_dsp_resume (struct snd_sof_dev * sdev )
415415{
416416 int ret ;
417417
418418 /* turn on adsp clock */
419- ret = adsp_clock_on (sdev );
419+ ret = mt8365_adsp_clock_on (sdev );
420420 if (ret ) {
421- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
421+ dev_err (sdev -> dev , "mt8365_adsp_clock_on fail!\n" );
422422 return ret ;
423423 }
424424
0 commit comments