diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-12-19 07:37:37 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-10 12:11:21 +0000 |
commit | 96241bae08f63e40dad8f3764e332858b27ba23c (patch) | |
tree | de1ebefdae03afd99186486759b927e29fe10ada /sound/soc/soc-pcm.c | |
parent | 10611e1b0b7ab2a82dd7838e5e928fa1501d353c (diff) | |
download | linux-96241bae08f63e40dad8f3764e332858b27ba23c.tar.gz linux-96241bae08f63e40dad8f3764e332858b27ba23c.tar.bz2 linux-96241bae08f63e40dad8f3764e332858b27ba23c.zip |
ASoC: remove snd_soc_platform_trigger()
No one is using snd_soc_platform_trigger().
Let's remove it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-pcm.c')
-rw-r--r-- | sound/soc/soc-pcm.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index 1739573dcd6a..dec0b20d3f3e 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -2872,15 +2872,6 @@ int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, } EXPORT_SYMBOL_GPL(snd_soc_dpcm_can_be_params); -int snd_soc_platform_trigger(struct snd_pcm_substream *substream, - int cmd, struct snd_soc_platform *platform) -{ - if (platform->driver->ops && platform->driver->ops->trigger) - return platform->driver->ops->trigger(substream, cmd); - return 0; -} -EXPORT_SYMBOL_GPL(snd_soc_platform_trigger); - #ifdef CONFIG_DEBUG_FS static const char *dpcm_state_string(enum snd_soc_dpcm_state state) { |