OpenCloudOS-Kernel/sound/soc/mediatek/mt8195
Chunxu Li 0caf1120c5
ASoC: mediatek: mt8195: extract SOF common code
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>
2022-07-18 13:45:16 +01:00
..
Makefile ASoC: mediatek: mt8195: merge machine driver 2022-04-04 08:39:38 +01:00
mt8195-afe-clk.c ASoC: mediatek: mt8195: simplify error handling 2022-06-06 12:35:17 +01:00
mt8195-afe-clk.h ASoC: mediatek: mt8195: enable apll tuner 2022-02-21 13:24:56 +00:00
mt8195-afe-common.h ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00
mt8195-afe-pcm.c ASoC: mediatek: mt8195: add reset controller 2022-03-11 13:41:12 +00:00
mt8195-audsys-clk.c ASoC: mediatek: mt8195: update audsys clock parent name 2021-10-08 17:22:50 +01:00
mt8195-audsys-clk.h ASoC: mediatek: mt8195: support audsys clock control 2021-08-24 19:13:52 +01:00
mt8195-audsys-clkid.h ASoC: mediatek: mt8195: support audsys clock control 2021-08-24 19:13:52 +01:00
mt8195-dai-adda.c ASoC: mediatek: mt8195: make array adda_dai_list static const 2021-09-15 13:12:27 +01:00
mt8195-dai-etdm.c ASoC: mediatek: Rename set_fmt_new back to set_fmt 2022-06-06 12:34:05 +01:00
mt8195-dai-pcm.c ASoC: mediatek: Rename set_fmt_new back to set_fmt 2022-06-06 12:34:05 +01:00
mt8195-mt6359.c ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
mt8195-reg.h ASoC: mediatek: mt8195: correct pcmif BE dai control flow 2021-12-31 13:20:57 +00:00