0caf1120c5
The functions related to SOF can be reused in different machine drivers, such as mt8195 or mt8186, so extract the common code to avoid duplication. Set mtk_soc_card_data which include machine private data and SOF private data as card drvdata, then the difference between machine private can be ignored such as mt8195_mt6359_priv or mt8186_mt6366_priv, at the same time the SOF related code can be reused in different machine drivers. Signed-off-by: Chunxu Li <chunxu.li@mediatek.com> Link: https://lore.kernel.org/r/20220715085903.7796-1-chunxu.li@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
mt8195-afe-clk.c | ||
mt8195-afe-clk.h | ||
mt8195-afe-common.h | ||
mt8195-afe-pcm.c | ||
mt8195-audsys-clk.c | ||
mt8195-audsys-clk.h | ||
mt8195-audsys-clkid.h | ||
mt8195-dai-adda.c | ||
mt8195-dai-etdm.c | ||
mt8195-dai-pcm.c | ||
mt8195-mt6359.c | ||
mt8195-reg.h |