[alsa-devel] [PATCH] ASoC: soc-pcm: msbits constraint: Drop 8 and 16 bit sample sizes
Peter Ujfalusi
peter.ujfalusi at ti.com
Wed Jan 25 09:09:41 CET 2012
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 at ti.com>
---
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(-)
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 3268901..93be95b 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,
--
1.7.8.3
More information about the Alsa-devel
mailing list