diff options
Diffstat (limited to 'include/sound')
-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 ae9a227d35d3..0f2e5daa1451 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -166,6 +166,13 @@ struct snd_soc_dai_ops { | |||
166 | struct snd_soc_dai *); | 166 | struct snd_soc_dai *); |
167 | int (*prepare)(struct snd_pcm_substream *, | 167 | int (*prepare)(struct snd_pcm_substream *, |
168 | struct snd_soc_dai *); | 168 | struct snd_soc_dai *); |
169 | /* | ||
170 | * NOTE: Commands passed to the trigger function are not necessarily | ||
171 | * compatible with the current state of the dai. For example this | ||
172 | * sequence of commands is possible: START STOP STOP. | ||
173 | * So do not unconditionally use refcounting functions in the trigger | ||
174 | * function, e.g. clk_enable/disable. | ||
175 | */ | ||
169 | int (*trigger)(struct snd_pcm_substream *, int, | 176 | int (*trigger)(struct snd_pcm_substream *, int, |
170 | struct snd_soc_dai *); | 177 | struct snd_soc_dai *); |
171 | int (*bespoke_trigger)(struct snd_pcm_substream *, int, | 178 | int (*bespoke_trigger)(struct snd_pcm_substream *, int, |