[alsa-devel] [PATCH] 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 --- 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.htm...
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,
On Wed, Jan 25, 2012 at 10:09:41AM +0200, Peter Ujfalusi wrote:
As per discussion we can safely ignore the 8 and 16 bit sample sizes when applying the msbits constraint.
Applied, thanks.
participants (2)
-
Mark Brown
-
Peter Ujfalusi