linux-stable/sound/soc/mediatek/mt8195
AngeloGioacchino Del Regno e70b8dd267
ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link
Remove the extra 'mt8195-afe-pcm-dai' component, register the DAI
drivers to the main AFE component, and rework the DAI linking between
the headset codec (RT5682/RT5682S) and the TDM interface in the probe
function to stop assigning name, relying on the of_node of the codec.
Also replace the COMP_DUMMY codec entry with a COMP_EMPTY for the
ETDM2_IN and remove it entirely from ETDM1_OUT to fix the registration
flow for this sound card.

While at it, since we also need to swap the codec init function from
ETDM2_IN to ETDM1_OUT, remove the static assignment of both `ops` and
`init` for both, as we now assign these dynamically during probe.

Fixes: 13f58267cd ("ASoC: soc.h: don't create dummy Component via COMP_DUMMY()")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://msgid.link/r/20240110105757.539089-1-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-01-10 13:31:56 +00:00
..
Makefile ASoC: mediatek: mt8195: merge machine driver 2022-04-04 08:39:38 +01:00
mt8195-afe-clk.c ASoC: mediatek: mt8195: fix use-after-free in driver remove path 2023-06-01 12:30:36 +01:00
mt8195-afe-clk.h ASoC: mediatek: mt8195: fix use-after-free in driver remove path 2023-06-01 12:30:36 +01: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: Remove afe-dai component and rework codec link 2024-01-10 13:31:56 +00:00
mt8195-audsys-clk.c ASoC: mediatek: mt8195: fix use-after-free in driver remove path 2023-06-01 12:30:36 +01:00
mt8195-audsys-clk.h ASoC: mediatek: mt8195: fix use-after-free in driver remove path 2023-06-01 12:30:36 +01:00
mt8195-audsys-clkid.h
mt8195-dai-adda.c ASoC: mediatek: mt8195: add dai id check before accessing array 2023-03-13 14:08:37 +00:00
mt8195-dai-etdm.c ASoC: mediatek: merge DAI call back functions into ops 2023-08-14 13:10:25 +01:00
mt8195-dai-pcm.c ASoC: mediatek: mt8195: add dai id check before accessing array 2023-03-13 14:08:37 +00:00
mt8195-mt6359.c ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link 2024-01-10 13:31:56 +00:00
mt8195-reg.h ASoC: mediatek: mt8195: correct pcmif BE dai control flow 2021-12-31 13:20:57 +00:00