diff options
author | Mark Brown <broonie@kernel.org> | 2024-11-05 18:15:46 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-11-05 18:15:46 +0000 |
commit | a441eff91542b579060bb31b9ebd8103bca46815 (patch) | |
tree | cefc36a767092c94e17ae6ce4bcc10efae973013 /include/sound | |
parent | ff96429c12a488f4fddf46fae9c9630c00125964 (diff) | |
parent | d280cf5fbfe3cdd373c98e858834ff87b6ea64de (diff) | |
download | linux-stable-a441eff91542b579060bb31b9ebd8103bca46815.tar.gz linux-stable-a441eff91542b579060bb31b9ebd8103bca46815.tar.bz2 linux-stable-a441eff91542b579060bb31b9ebd8103bca46815.zip |
Soundwire dai link init logic refactor
Merge series from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:
This patch series refactors the SoundWire dai link init logic for Intel
and AMD generic SoundWire machine driver and also updates the stream_name
in dai_links structure.
Link: https://github.com/thesofproject/linux/pull/5218
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc_sdw_utils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h index a25f94d6eb67..0e82598e10af 100644 --- a/include/sound/soc_sdw_utils.h +++ b/include/sound/soc_sdw_utils.h @@ -152,14 +152,15 @@ void asoc_sdw_init_dai_link(struct device *dev, struct snd_soc_dai_link *dai_lin struct snd_soc_dai_link_component *cpus, int cpus_num, struct snd_soc_dai_link_component *platform_component, int num_platforms, struct snd_soc_dai_link_component *codecs, - int codecs_num, int (*init)(struct snd_soc_pcm_runtime *rtd), + int codecs_num, int no_pcm, + int (*init)(struct snd_soc_pcm_runtime *rtd), const struct snd_soc_ops *ops); int asoc_sdw_init_simple_dai_link(struct device *dev, struct snd_soc_dai_link *dai_links, int *be_id, char *name, int playback, int capture, const char *cpu_dai_name, const char *platform_comp_name, int num_platforms, const char *codec_name, - const char *codec_dai_name, + const char *codec_dai_name, int no_pcm, int (*init)(struct snd_soc_pcm_runtime *rtd), const struct snd_soc_ops *ops); |