File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
sound/soc/sof/mediatek/mt8186 Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -430,6 +430,11 @@ static int mt8186_dsp_remove(struct snd_sof_dev *sdev)
430
430
return 0 ;
431
431
}
432
432
433
+ static int mt8186_dsp_shutdown (struct snd_sof_dev * sdev )
434
+ {
435
+ return snd_sof_suspend (sdev -> dev );
436
+ }
437
+
433
438
static int mt8186_dsp_suspend (struct snd_sof_dev * sdev , u32 target_state )
434
439
{
435
440
mt8186_sof_hifixdsp_shutdown (sdev );
@@ -538,6 +543,7 @@ static struct snd_sof_dsp_ops sof_mt8186_ops = {
538
543
/* probe and remove */
539
544
.probe = mt8186_dsp_probe ,
540
545
.remove = mt8186_dsp_remove ,
546
+ .shutdown = mt8186_dsp_shutdown ,
541
547
542
548
/* DSP core boot */
543
549
.run = mt8186_run ,
@@ -629,6 +635,7 @@ MODULE_DEVICE_TABLE(of, sof_of_mt8186_ids);
629
635
static struct platform_driver snd_sof_of_mt8186_driver = {
630
636
.probe = sof_of_probe ,
631
637
.remove = sof_of_remove ,
638
+ .shutdown = sof_of_shutdown ,
632
639
.driver = {
633
640
.name = "sof-audio-of-mt8186" ,
634
641
.pm = & sof_of_pm ,
You can’t perform that action at this time.
0 commit comments