linux/sound/soc/sdw_utils
Vijendar Mukunda 59f8b622d5
ASoC: intel/sdw_utils: refactor init_dai_link() and init_simple_dai_link()
To make it generic, refactor existing implementation for
init_dai_link() and init_simple_dai_link() as mentioned below.
- Move init_dai_link() and init_simple_dai_link() to common place holder
- Rename the functions with "asoc_sdw" as prefix.
- Pass the platform specific 'platform_component' structure and its size as
arguments for init_simple_dai_link() function and allocate one more
extra dlc for platform component.
- Pass the 'platform_component' and 'num_platforms' as arguments for
init_dai_link().

Link: https://github.com/thesofproject/linux/pull/5068
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240801111821.18076-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-08-01 12:44:15 +01:00
..
Kconfig ASoC: intel/sdw-utils: move soundwire machine driver soc ops 2024-08-01 12:43:57 +01:00
Makefile ASoC: intel/sdw_utils: move maxim codec helper functions 2024-08-01 12:44:09 +01:00
soc_sdw_bridge_cs35l56.c ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions 2024-08-01 12:44:08 +01:00
soc_sdw_cs42l42.c ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions 2024-08-01 12:44:08 +01:00
soc_sdw_cs42l43.c ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions 2024-08-01 12:44:08 +01:00
soc_sdw_cs_amp.c ASoC: intel/sdw_utils: move cirrus soundwire codec helper functions 2024-08-01 12:44:08 +01:00
soc_sdw_dmic.c ASoC: intel/sdw_utils: move dmic codec helper function 2024-08-01 12:44:00 +01:00
soc_sdw_maxim.c ASoC: intel/sdw_utils: move maxim codec helper functions 2024-08-01 12:44:09 +01:00
soc_sdw_rt700.c ASoC: intel/sdw_utils: move rt700 and rt711 codec helper functions 2024-08-01 12:44:06 +01:00
soc_sdw_rt711.c ASoC: intel/sdw_utils: move rt700 and rt711 codec helper functions 2024-08-01 12:44:06 +01:00
soc_sdw_rt712_sdca.c ASoC: intel/sdw_utils: move rt712 sdca helper functions 2024-08-01 12:44:01 +01:00
soc_sdw_rt722_sdca.c ASoC: intel/sdw_utils: move rt722 sdca helper functions 2024-08-01 12:44:02 +01:00
soc_sdw_rt5682.c ASoC: intel/sdw_utils: move rt5682 codec helper function 2024-08-01 12:44:04 +01:00
soc_sdw_rt_amp_coeff_tables.h ASoC: intel/sdw_utils: move rtk amp codec helper functions 2024-08-01 12:44:07 +01:00
soc_sdw_rt_amp.c ASoC: intel/sdw_utils: move rtk amp codec helper functions 2024-08-01 12:44:07 +01:00
soc_sdw_rt_dmic.c ASoC: intel/sdw_utils: move rtk dmic helper functions 2024-08-01 12:44:01 +01:00
soc_sdw_rt_sdca_jack_common.c ASoC: intel/sdw_utils: move rtk jack common helper functions 2024-08-01 12:44:05 +01:00
soc_sdw_utils.c ASoC: intel/sdw_utils: refactor init_dai_link() and init_simple_dai_link() 2024-08-01 12:44:15 +01:00