OpenCloudOS-Kernel/sound/soc/mediatek
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
..
common ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
mt2701 ASoC: mediatek: Fix missing of_node_put in mt2701_wm8960_machine_probe 2022-04-05 10:44:31 +01:00
mt6797 ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe 2022-06-06 12:38:49 +01:00
mt8173 ASoC: mediatek: mt8173-rt5650: Fix refcount leak in mt8173_rt5650_dev_probe 2022-06-07 12:00:44 +01:00
mt8183 ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8186 ASoC: mediatek: mt8186: Remove condition with no effect 2022-07-11 12:06:28 +01:00
mt8192 ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8195 ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
Kconfig ASoC: mediatek: mt8192: support rt1015p_rt5682s 2022-04-08 12:09:51 +01:00
Makefile ASoC: mediatek: mt8195: add platform driver 2021-08-24 19:13:56 +01:00