From: Peter Ujfalusi Date: Wed, 25 Jan 2012 08:09:41 +0000 (+0200) Subject: ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=88e339541d28153b6d2bfad9b25b3462fcd2bcaa;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Mark Brown --- 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,