diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-08-01 16:48:12 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2024-08-01 12:44:15 +0100 |
| commit | 59f8b622d52e30c5be7f14212c26ca37e810ece9 (patch) | |
| tree | a108104ef6eea9bd3f7b0935e24d73525fdbf404 /net/lapb/lapb_subr.c | |
| parent | 5bd414c7b80e39ef11bd86db76e726962c1bfc92 (diff) | |
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>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
