summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-05-07 14:12:23 +0900
committerMark Brown <broonie@kernel.org>2025-05-07 14:12:23 +0900
commitd9a1cbfe5b73fdabd0c4e3ae5d5fa3f42327c7fd (patch)
tree283376dd6549e547a1ec7e80e4cf96280c7ecb7c /include/sound
parent599b86f8cf98f786e317039372fe4cb446f0fa2a (diff)
parent6c965d39af98a8b79668898b3a2af40d11179ff4 (diff)
downloadlinux-next-d9a1cbfe5b73fdabd0c4e3ae5d5fa3f42327c7fd.tar.gz
linux-next-d9a1cbfe5b73fdabd0c4e3ae5d5fa3f42327c7fd.zip
Minor bug fix and tidy up for sof_sdw
Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>: Fix a small bug that can cause the sof_sdw machine driver to fail probe after the first time it has probed. Also do some minor tidy up on the handling of the platform_component of the dai links.
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc_sdw_utils.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sound/soc_sdw_utils.h b/include/sound/soc_sdw_utils.h
index d8bd5d37131a..b63021f5afaf 100644
--- a/include/sound/soc_sdw_utils.h
+++ b/include/sound/soc_sdw_utils.h
@@ -159,9 +159,8 @@ void asoc_sdw_init_dai_link(struct device *dev, struct snd_soc_dai_link *dai_lin
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, int no_pcm,
- int (*init)(struct snd_soc_pcm_runtime *rtd),
+ const char *codec_name, const char *codec_dai_name,
+ int no_pcm, int (*init)(struct snd_soc_pcm_runtime *rtd),
const struct snd_soc_ops *ops);
int asoc_sdw_count_sdw_endpoints(struct snd_soc_card *card, int *num_devs, int *num_ends);