@@ -167,7 +167,7 @@ static int mt8195_run(struct snd_sof_dev *sdev)
167167
168168 adsp_bootup_addr = SRAM_PHYS_BASE_FROM_DSP_VIEW ;
169169 dev_dbg (sdev -> dev , "HIFIxDSP boot from base : 0x%08X\n" , adsp_bootup_addr );
170- sof_hifixdsp_boot_sequence (sdev , adsp_bootup_addr );
170+ mt8195_sof_hifixdsp_boot_sequence (sdev , adsp_bootup_addr );
171171
172172 return 0 ;
173173}
@@ -200,9 +200,9 @@ static int mt8195_dsp_probe(struct snd_sof_dev *sdev)
200200 return - EINVAL ;
201201 }
202202
203- ret = adsp_clock_on (sdev );
203+ ret = mt8195_adsp_clock_on (sdev );
204204 if (ret ) {
205- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
205+ dev_err (sdev -> dev , "mt8195_adsp_clock_on fail!\n" );
206206 return - EINVAL ;
207207 }
208208
@@ -275,7 +275,7 @@ static int mt8195_dsp_probe(struct snd_sof_dev *sdev)
275275err_adsp_sram_power_off :
276276 adsp_sram_power_on (& pdev -> dev , false);
277277exit_clk_disable :
278- adsp_clock_off (sdev );
278+ mt8195_adsp_clock_off (sdev );
279279
280280 return ret ;
281281}
@@ -292,7 +292,7 @@ static void mt8195_dsp_remove(struct snd_sof_dev *sdev)
292292
293293 platform_device_unregister (priv -> ipc_dev );
294294 adsp_sram_power_on (& pdev -> dev , false);
295- adsp_clock_off (sdev );
295+ mt8195_adsp_clock_off (sdev );
296296}
297297
298298static int mt8195_dsp_suspend (struct snd_sof_dev * sdev , u32 target_state )
@@ -314,7 +314,7 @@ static int mt8195_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
314314 }
315315
316316 /* stall and reset dsp */
317- sof_hifixdsp_shutdown (sdev );
317+ mt8195_sof_hifixdsp_shutdown (sdev );
318318
319319 /* power down adsp sram */
320320 ret = adsp_sram_power_on (& pdev -> dev , false);
@@ -324,17 +324,17 @@ static int mt8195_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state)
324324 }
325325
326326 /* turn off adsp clock */
327- return adsp_clock_off (sdev );
327+ return mt8195_adsp_clock_off (sdev );
328328}
329329
330330static int mt8195_dsp_resume (struct snd_sof_dev * sdev )
331331{
332332 int ret ;
333333
334334 /* turn on adsp clock */
335- ret = adsp_clock_on (sdev );
335+ ret = mt8195_adsp_clock_on (sdev );
336336 if (ret ) {
337- dev_err (sdev -> dev , "adsp_clock_on fail!\n" );
337+ dev_err (sdev -> dev , "mt8195_adsp_clock_on fail!\n" );
338338 return ret ;
339339 }
340340
0 commit comments