]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: SOF: mediatek: mt8195 modify dram type as non-cache
authorYC Hung <yc.hung@mediatek.com>
Mon, 6 Jun 2022 21:02:11 +0000 (16:02 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 21:08:24 +0000 (22:08 +0100)
commit0bf4276cc7883d65e594926c1159d4c0712d02e7
tree308378a289b63b9082f98e3c14b257e493c2464c
parentfd43dcbb859c85831a05e37287e1c5395f54aba8
ASoC: SOF: mediatek: mt8195 modify dram type as non-cache

Modify dram as non-cache memory type to avoid wrong access between
host and dsp side and get the size of shared dma from device tree.

Reviewed-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: YC Hung <yc.hung@mediatek.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220606210212.146626-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8195/mt8195.c