diff options
author | Mark Brown <broonie@linaro.org> | 2013-11-08 10:43:32 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-11-08 10:43:32 +0000 |
commit | 5ac452772f41b266a5959c5a7eac756ed8f5fdad (patch) | |
tree | 4deb5133ecbf92595f54b594f556046efaa84b9c /include | |
parent | 672922e975106b2a57cf3f4ba68405e4e5e700cc (diff) | |
parent | 863ebddec85c5ce2fb2e7742e8834a3bd69a2512 (diff) | |
download | linux-5ac452772f41b266a5959c5a7eac756ed8f5fdad.tar.gz linux-5ac452772f41b266a5959c5a7eac756ed8f5fdad.tar.bz2 linux-5ac452772f41b266a5959c5a7eac756ed8f5fdad.zip |
Merge remote-tracking branch 'asoc/topic/mxs' into asoc-next
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-dai.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index b0ee6590b8ba..800c101bb096 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h @@ -169,6 +169,13 @@ struct snd_soc_dai_ops { struct snd_soc_dai *); int (*prepare)(struct snd_pcm_substream *, struct snd_soc_dai *); + /* + * NOTE: Commands passed to the trigger function are not necessarily + * compatible with the current state of the dai. For example this + * sequence of commands is possible: START STOP STOP. + * So do not unconditionally use refcounting functions in the trigger + * function, e.g. clk_enable/disable. + */ int (*trigger)(struct snd_pcm_substream *, int, struct snd_soc_dai *); int (*bespoke_trigger)(struct snd_pcm_substream *, int, |