summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-01-25 12:09:41 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-25 15:17:16 +0400
commit88e339541d28153b6d2bfad9b25b3462fcd2bcaa (patch)
tree20df66bb2a0eaf209a840cbe38231e08a754a521 /sound
parent182c51ce7944a214dd77a0b5c0462241e49dd418 (diff)
downloadlinux-88e339541d28153b6d2bfad9b25b3462fcd2bcaa.tar.xz
ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes
As per discussion we can safely ignore the 8 and 16 bit sample sizes when applying the msbits constraint. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 326890148a26..93be95b7864c 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -68,7 +68,7 @@ static int soc_pcm_apply_symmetry(struct snd_pcm_substream *substream,
* like the DAC/ADC resolution to use but there isn't right now.
*/
static int sample_sizes[] = {
- 8, 16, 24, 32,
+ 24, 32,
};
static void soc_pcm_apply_msb(struct snd_pcm_substream *substream,