diff options
| author | Ranjani Sridharan <[email protected]> | 2023-01-27 14:00:15 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-01-27 12:13:59 +0000 |
| commit | 5edcf2a3aad41ee398ac011cda7bccca400b56f0 (patch) | |
| tree | 7b5ac2dc1352ce34c4906f3ba5ff695ee11d5ef0 /include | |
| parent | 9a62d87acee94919af1fe92f2412fff83dcbcda0 (diff) | |
ASoC: soc-pcm: Export widget_in_list()
Export the widget_in_list() function to be used by other modules.
Signed-off-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc-dpcm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-dpcm.h b/include/sound/soc-dpcm.h index 2864aed72998..1e7d09556fe3 100644 --- a/include/sound/soc-dpcm.h +++ b/include/sound/soc-dpcm.h @@ -162,6 +162,8 @@ int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream); int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, int event); bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir); +int widget_in_list(struct snd_soc_dapm_widget_list *list, + struct snd_soc_dapm_widget *widget); #define dpcm_be_dai_startup_rollback(fe, stream, last) \ dpcm_be_dai_stop(fe, stream, 0, last) |