ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes
PATCH 1/1 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 <[email protected]>
---
Hi Mark,
As we discussed [1] let's remove the 8 and 16 bit size from the array.
[1]
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-January/048276.html
Regards,
Peter
sound/soc/soc-pcm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-pcm.c +1 -1
@@ -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,
Signature · 1 line
1.7.8.3
Mark Brown
AppliedQuoted 2 lines · Peter Ujfalusi
As per discussion we can safely ignore the 8 and 16 bit sample sizes when applying the msbits constraint.
Applied, thanks.