diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2026-08-31 06:38:51 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-09 16:42:38 +0100 |
| commit | 5ffa1b3d7f0450ce830d9a438efeea55b551db25 (patch) | |
| tree | c4cdaacb0b277e3f417f3e89728911e47c26cb7a /include | |
| parent | b006e4d060b2f92400fc91ecd6c2bc365ba42b3a (diff) | |
| download | linux-5ffa1b3d7f0450ce830d9a438efeea55b551db25.tar.gz linux-5ffa1b3d7f0450ce830d9a438efeea55b551db25.zip | |
ASoC: soc-dai: move snd_soc_dai_stream_active() to soc-dai.c
DAI parameter will be capsuled soon, will be not enable to access from
soc-dai.h. Move it to soc-dai.c
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87jyp6ssjo.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/soc-dai.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index b50368ca6cbf..e7d86c97da75 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -538,12 +538,7 @@ static inline void snd_soc_dai_stream_dma_data_set_s(struct snd_soc_dai *dai, st unsigned int snd_soc_dai_stream_tdm_mask_get(const struct snd_soc_dai *dai, int stream); void snd_soc_dai_stream_tdm_mask_set(struct snd_soc_dai *dai, int stream, unsigned int tdm_mask); -static inline unsigned int snd_soc_dai_stream_active(const struct snd_soc_dai *dai, - int stream) -{ - /* see snd_soc_dai_action() for setup */ - return dai->stream[stream].active; -} +unsigned int snd_soc_dai_stream_active(const struct snd_soc_dai *dai, int stream); static inline void snd_soc_dai_set_drvdata(struct snd_soc_dai *dai, void *data) |
