mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
e70b8dd267
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:
|
||
---|---|---|
.. | ||
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 |