[alsa-devel] [PATCH] ASoC: pcm3168a: Use fixup instead of constraint for channels and formats

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Oct 15 04:38:29 CEST 2019


Hi Peter

> The snd_pcm_hw_constraint_minmax() works fine when a single codec is
> connected to a single CPU DAI, but in multicodec or DPCM setup the
> constraints placed by the driver will apply to the whole PCM stream (FE
> included) and thus prevents more than 8 playback channels for example.
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> ---

This patch breaks my sound.
I'm selecting I2S between CPU<->Codec, and 
before this patch, it had been selected 24bit + I2S.
But after this patch, it selects 16bit + I2S,
and say "16-bit slots are supported only for slave mode using right justified"

I'm not 100% understand pcm3168a.
I'm happy if you can solve this issue.
If you can't, can you please teach me where should I check ?

Thank you for your help !!
Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list