ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 25 Jan 2012 08:09:41 +0000 (10:09 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 11:17:16 +0000 (11:17 +0000)
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>
sound/soc/soc-pcm.c

index 326890148a26e8cfc893fb47604ac57f16f8d2f2..93be95b7864c7be2ea9936c8c67020f582a02613 100644 (file)
@@ -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,