[PATCH 3/5] ASoC: SOF: mediatek: Add shared_size for mediatek common chip information

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Mon Jun 6 23:02:10 CEST 2022


From: YC Hung <yc.hung at mediatek.com>

Add shared_size for mediatek common chip information which is used for
audio and trace dma.

Reviewed-by: Curtis Malainey <cujomalainey at chromium.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
Signed-off-by: YC Hung <yc.hung at mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
 sound/soc/sof/mediatek/adsp_helper.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/sof/mediatek/adsp_helper.h b/sound/soc/sof/mediatek/adsp_helper.h
index 4ab998756bbc0..d41e904e6614e 100644
--- a/sound/soc/sof/mediatek/adsp_helper.h
+++ b/sound/soc/sof/mediatek/adsp_helper.h
@@ -20,6 +20,7 @@ struct mtk_adsp_chip_info {
 	u32 sramsize;
 	u32 dramsize;
 	u32 cfgregsize;
+	u32 shared_size;
 	void __iomem *va_sram; /* corresponding to pa_sram */
 	void __iomem *va_dram; /* corresponding to pa_dram */
 	void __iomem *va_cfgreg;
-- 
2.34.1



More information about the Alsa-devel mailing list