diff options
| author | Mark Brown <broonie@linaro.org> | 2013-12-03 10:06:08 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-12-03 10:06:08 -0500 |
| commit | 647dc469e6356440af3cd2c3d8262c6f7899ceae (patch) | |
| tree | 5099f7c9e2153a5352d03f2c4210c308147ddfa1 /include | |
| parent | e42644c64c0de145ab2041ceb904e44421dd6794 (diff) | |
| parent | 62e5f676f6a063e1ab0d6b8fcaef2feb026ee00e (diff) | |
Merge remote-tracking branch 'asoc/topic/symmetry' into asoc-ssm2602
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; |
