diff options
Diffstat (limited to 'include/sound/soc-dai.h')
-rw-r--r-- | include/sound/soc-dai.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 800c101bb096..71f27c403194 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -123,6 +123,8 @@ int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate); | |||
123 | int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, | 123 | int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, |
124 | int direction); | 124 | int direction); |
125 | 125 | ||
126 | int snd_soc_dai_is_dummy(struct snd_soc_dai *dai); | ||
127 | |||
126 | struct snd_soc_dai_ops { | 128 | struct snd_soc_dai_ops { |
127 | /* | 129 | /* |
128 | * DAI clocking configuration, all optional. | 130 | * DAI clocking configuration, all optional. |
@@ -220,6 +222,8 @@ struct snd_soc_dai_driver { | |||
220 | struct snd_soc_pcm_stream capture; | 222 | struct snd_soc_pcm_stream capture; |
221 | struct snd_soc_pcm_stream playback; | 223 | struct snd_soc_pcm_stream playback; |
222 | unsigned int symmetric_rates:1; | 224 | unsigned int symmetric_rates:1; |
225 | unsigned int symmetric_channels:1; | ||
226 | unsigned int symmetric_samplebits:1; | ||
223 | 227 | ||
224 | /* probe ordering - for components with runtime dependencies */ | 228 | /* probe ordering - for components with runtime dependencies */ |
225 | int probe_order; | 229 | int probe_order; |
@@ -244,6 +248,8 @@ struct snd_soc_dai { | |||
244 | unsigned int capture_active:1; /* stream is in use */ | 248 | unsigned int capture_active:1; /* stream is in use */ |
245 | unsigned int playback_active:1; /* stream is in use */ | 249 | unsigned int playback_active:1; /* stream is in use */ |
246 | unsigned int symmetric_rates:1; | 250 | unsigned int symmetric_rates:1; |
251 | unsigned int symmetric_channels:1; | ||
252 | unsigned int symmetric_samplebits:1; | ||
247 | struct snd_pcm_runtime *runtime; | 253 | struct snd_pcm_runtime *runtime; |
248 | unsigned int active; | 254 | unsigned int active; |
249 | unsigned char probed:1; | 255 | unsigned char probed:1; |
@@ -258,6 +264,8 @@ struct snd_soc_dai { | |||
258 | 264 | ||
259 | /* Symmetry data - only valid if symmetry is being enforced */ | 265 | /* Symmetry data - only valid if symmetry is being enforced */ |
260 | unsigned int rate; | 266 | unsigned int rate; |
267 | unsigned int channels; | ||
268 | unsigned int sample_bits; | ||
261 | 269 | ||
262 | /* parent platform/codec */ | 270 | /* parent platform/codec */ |
263 | struct snd_soc_platform *platform; | 271 | struct snd_soc_platform *platform; |