summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-pcm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-01-25 10:09:41 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-01-25 11:17:16 +0000
commit88e339541d28153b6d2bfad9b25b3462fcd2bcaa (patch)
tree20df66bb2a0eaf209a840cbe38231e08a754a521 /sound/soc/soc-pcm.c
parent182c51ce7944a214dd77a0b5c0462241e49dd418 (diff)
downloadlinux-88e339541d28153b6d2bfad9b25b3462fcd2bcaa.tar.bz2
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/soc/soc-pcm.c')
-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,