diff options
author | 2022-03-17 10:50:42 -0700 | |
---|---|---|
committer | 2022-03-18 16:04:51 +0000 | |
commit | 3816bbea644202fd0a8410e54dbc30bd93f3292c (patch) | |
tree | 2843f08d2ddc17252aa371323ae6f47bcce1c520 /sound/soc/sof/sof-audio.c | |
parent | ASoC: SOF: Add dai_link_fixup PCM op for IPC3 (diff) | |
download | linux-3816bbea644202fd0a8410e54dbc30bd93f3292c.tar.gz linux-3816bbea644202fd0a8410e54dbc30bd93f3292c.tar.bz2 linux-3816bbea644202fd0a8410e54dbc30bd93f3292c.zip |
ASoC: SOF: expose sof_route_setup()
This will be used in IPC3-specific code.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20220317175044.1752400-18-ranjani.sridharan@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-audio.c')
-rw-r--r-- | sound/soc/sof/sof-audio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/sof-audio.c b/sound/soc/sof/sof-audio.c index 5088ec7019ed..8885709f40df 100644 --- a/sound/soc/sof/sof-audio.c +++ b/sound/soc/sof/sof-audio.c @@ -204,8 +204,8 @@ use_count_dec: } EXPORT_SYMBOL(sof_widget_setup); -static int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, - struct snd_soc_dapm_widget *wsink) +int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, + struct snd_soc_dapm_widget *wsink) { const struct sof_ipc_tplg_ops *ipc_tplg_ops = sdev->ipc->ops->tplg; struct snd_sof_widget *src_widget = wsource->dobj.private; |