Skip to contentSkip to conversation

ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes

PATCH Applied Peter Ujfalusi 2 participants 2 messages Jan 25, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---
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
index 3268901..93be95b 100644
@@ -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
Applied
#1 lore raw
Quoted 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.