mirror_ubuntu-kernels/sound/soc/intel/boards
Bard Liao 8266c73126
ASoC: Intel: sof_sdw: add common sdw dai link init
Currently, we set sdw dai link .init callback in the codec_info_list's
dais.init function. This works fine if all codecs in the dai link are
the same. However, we need to do all the .init stuff for all different
codecs in the dai link if not all codecs in the dai link are the same.
Use a common dai link .init callback to call the new rtd_init callback
in sof_sdw_dai_info{} to do rtd_init for each dai.
Some codec init callback will become empty after this change. They will
be removed in the follow up patch.

Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20240208165545.93811-18-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-02-08 21:23:17 +00:00
..
bdw_rt286.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bdw-rt5650.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bdw-rt5677.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bxt_da7219_max98357a.c ASoC: Intel: bxt_da7219_max98357a: Fix kernel ops due to COMP_DUMMY change 2024-01-08 12:29:44 +00:00
bxt_rt298.c ASoC: Intel: bxt_rt298: Fix kernel ops due to COMP_DUMMY change 2024-01-08 12:29:45 +00:00
bytcht_cx2072x.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcht_da7213.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcht_es8316.c ASoC: Intel: bytcht_es8316: Determine quirks/routing with codec-dev ACPI DSM 2023-12-04 17:20:31 +00:00
bytcht_nocodec.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcr_rt5640.c ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk 2023-12-18 14:03:20 +00:00
bytcr_rt5651.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
bytcr_wm5102.c ASoC: Intel: bytcr_wm5102: Add BYT_WM5102_IN_MAP quirk 2023-10-25 17:21:14 +01:00
cht_bsw_max98090_ti.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
cht_bsw_nau8824.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
cht_bsw_rt5645.c ASoC: Intel: cht_bsw_rt5645: Set card.components string 2023-12-21 21:00:47 +00:00
cht_bsw_rt5672.c ASoC: Intel: cht_bsw_rt5672: check return value 2023-11-27 16:32:51 +00:00
cml_rt1011_rt5682.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
ehl_rt5660.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
glk_rt5682_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
hda_dsp_common.c ASoC: Intel: Drop hdac_ext usage for codec device creation 2022-08-18 09:46:43 +02:00
hda_dsp_common.h ASoC: Intel: hda_dsp_common: use static function in conditional block 2020-09-23 18:47:59 +01:00
hsw_rt5640.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_da7219_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_da7219_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5660.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5663_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
kbl_rt5663_rt5514_max98927.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
Kconfig ASoC: Intel: sof_sdw_rt_sdca_jack_common: use helper to get codec dai by name 2024-02-08 21:23:10 +00:00
Makefile ASoC: Intel: sof_sdw: Add rt722 support 2023-11-27 14:27:20 +00:00
skl_hda_dsp_common.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
skl_hda_dsp_common.h ASoC: intel/skl/hda - fix probe regression on systems without i915 2020-07-22 13:34:24 +01:00
skl_hda_dsp_generic.c ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not available 2023-11-24 12:55:04 +00:00
skl_nau88l25_max98357a.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
skl_nau88l25_ssm4567.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
skl_rt286.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_board_helpers.c ASoC: Intel: sof_sdw_rt_sdca_jack_common: use helper to get codec dai by name 2024-02-08 21:23:10 +00:00
sof_board_helpers.h ASoC: Intel: sof_sdw_rt_sdca_jack_common: use helper to get codec dai by name 2024-02-08 21:23:10 +00:00
sof_cirrus_common.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_cirrus_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_cs42l42.c ASoC: Intel: sof_cs42l42: use common module for DAI link generation 2024-02-08 21:23:07 +00:00
sof_da7219.c ASoC: Intel: sof_da7219: use sof_hdmi_private to init HDMI 2023-10-12 20:27:56 +01:00
sof_es8336.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_hdmi_common.h ASoC: Intel: sof_hdmi: add common header for HDMI 2023-10-12 20:27:54 +01:00
sof_maxim_common.c ASoC: Intel: sof_maxim_common: check return value 2023-11-27 16:32:50 +00:00
sof_maxim_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_nau8825.c ASoC: Intel: sof_nau8825: board id cleanup for rpl boards 2023-12-04 21:46:09 +00:00
sof_nuvoton_common.c ASoC: Intel: nuvoton-common: support nau8318 amplifier 2023-09-15 14:44:43 +01:00
sof_nuvoton_common.h ASoC: Intel: nuvoton-common: support nau8318 amplifier 2023-09-15 14:44:43 +01:00
sof_pcm512x.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_realtek_common.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00
sof_realtek_common.h ASoC: Intel: use ACPI HID definition in ssp-common 2023-09-15 14:44:33 +01:00
sof_rt5682.c ASoC: Intel: sof_rt5682: dmi quirk cleanup for mtl boards 2024-02-08 21:23:05 +00:00
sof_sdw_amp_coeff_tables.h ASoC: Intel: sof_sdw_amp: mark coeff tables with __maybe_unused 2022-11-18 14:04:42 +00:00
sof_sdw_common.h ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_cs42l42.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_cs42l43.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_cs_amp.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_dmic.c ASoC: Intel: sof_sdw: clean-up inclusion of header files 2020-08-24 13:41:36 +01:00
sof_sdw_hdmi.c ASoC: Intel: sof_sdw: use sof_hdmi_private to init HDMI 2023-10-12 20:27:59 +01:00
sof_sdw_maxim.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt700.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt711.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt712_sdca.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt715_sdca.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt715.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt722_sdca.c ASoC: Intel: sof_sdw: Add rt722 support 2023-11-27 14:27:20 +00:00
sof_sdw_rt5682.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt_amp.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw_rt_sdca_jack_common.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_sdw.c ASoC: Intel: sof_sdw: add common sdw dai link init 2024-02-08 21:23:17 +00:00
sof_ssp_amp.c ASoC: Intel: sof_ssp_amp: use common module for HDMI-In link 2023-11-27 16:33:07 +00:00
sof_ssp_common.c ASoC: Intel: ssp-common: get codec name function 2023-11-27 16:32:51 +00:00
sof_ssp_common.h ASoC: Intel: ssp-common: get codec name function 2023-11-27 16:32:51 +00:00
sof_wm8804.c ASoC: intel: convert not to use asoc_xxx() 2023-09-26 17:18:40 +02:00