]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: mediatek: mt8195 add shutdown callback
authorYC Hung <yc.hung@mediatek.com>
Wed, 6 Apr 2022 19:40:46 +0000 (14:40 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 7 Apr 2022 17:29:45 +0000 (18:29 +0100)
commit03f65ffe39bd94caf22e11c0db9fa1fc1c0eb33e
treeacd5a44b0b8cf05d3b4a5a4dd1822bdae06df62a
parent24e7b6f3062205233bcdfae97fd0e82302088348
ASoC: SOF: mediatek: mt8195 add shutdown callback

Add mt8195 shutdown callback function implementation to ensure that
shutdown flow is called to shutdown dsp core, disable adsp clock, and
power off dsp sram correctly during reboot flow.

Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220406194048.289787-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8195/mt8195.c