diff options
author | Mark Brown <broonie@linaro.org> | 2013-12-03 09:58:07 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-03 09:58:07 -0500 |
commit | e73462f573d5d78df1aaec5561b3d6daae90f64a (patch) | |
tree | 6a73f1ca4de0c8db1b624c97e2259ee975b88ec1 /include | |
parent | 2924a9981006ad01efb46c754689fa7d03e3eb4f (diff) | |
parent | 62e5f676f6a063e1ab0d6b8fcaef2feb026ee00e (diff) |
Merge remote-tracking branch 'asoc/topic/symmetry' into asoc-fsl
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-dai.h | 6 | ||||
-rw-r--r-- | include/sound/soc.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h index 800c101bb096..243d3b689699 100644 --- a/include/sound/soc-dai.h +++ b/include/sound/soc-dai.h | |||
@@ -220,6 +220,8 @@ struct snd_soc_dai_driver { | |||
220 | struct snd_soc_pcm_stream capture; | 220 | struct snd_soc_pcm_stream capture; |
221 | struct snd_soc_pcm_stream playback; | 221 | struct snd_soc_pcm_stream playback; |
222 | unsigned int symmetric_rates:1; | 222 | unsigned int symmetric_rates:1; |
223 | unsigned int symmetric_channels:1; | ||
224 | unsigned int symmetric_samplebits:1; | ||
223 | 225 | ||
224 | /* probe ordering - for components with runtime dependencies */ | 226 | /* probe ordering - for components with runtime dependencies */ |
225 | int probe_order; | 227 | int probe_order; |
@@ -244,6 +246,8 @@ struct snd_soc_dai { | |||
244 | unsigned int capture_active:1; /* stream is in use */ | 246 | unsigned int capture_active:1; /* stream is in use */ |
245 | unsigned int playback_active:1; /* stream is in use */ | 247 | unsigned int playback_active:1; /* stream is in use */ |
246 | unsigned int symmetric_rates:1; | 248 | unsigned int symmetric_rates:1; |
249 | unsigned int symmetric_channels:1; | ||
250 | unsigned int symmetric_samplebits:1; | ||
247 | struct snd_pcm_runtime *runtime; | 251 | struct snd_pcm_runtime *runtime; |
248 | unsigned int active; | 252 | unsigned int active; |
249 | unsigned char probed:1; | 253 | unsigned char probed:1; |
@@ -258,6 +262,8 @@ struct snd_soc_dai { | |||
258 | 262 | ||
259 | /* Symmetry data - only valid if symmetry is being enforced */ | 263 | /* Symmetry data - only valid if symmetry is being enforced */ |
260 | unsigned int rate; | 264 | unsigned int rate; |
265 | unsigned int channels; | ||
266 | unsigned int sample_bits; | ||
261 | 267 | ||
262 | /* parent platform/codec */ | 268 | /* parent platform/codec */ |
263 | struct snd_soc_platform *platform; | 269 | struct snd_soc_platform *platform; |
diff --git a/include/sound/soc.h b/include/sound/soc.h index 1f741cb24f33..1cda7d343d16 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -879,6 +879,8 @@ struct snd_soc_dai_link { | |||
879 | 879 | ||
880 | /* Symmetry requirements */ | 880 | /* Symmetry requirements */ |
881 | unsigned int symmetric_rates:1; | 881 | unsigned int symmetric_rates:1; |
882 | unsigned int symmetric_channels:1; | ||
883 | unsigned int symmetric_samplebits:1; | ||
882 | 884 | ||
883 | /* Do not create a PCM for this DAI link (Backend link) */ | 885 | /* Do not create a PCM for this DAI link (Backend link) */ |
884 | unsigned int no_pcm:1; | 886 | unsigned int no_pcm:1; |