[PATCH v3 05/19] ASoc: sun4i-i2s: Add 20 and 24 bit support

Samuel Holland samuel at sholland.org
Sun Sep 20 20:45:25 CEST 2020


On 9/20/20 1:07 PM, Clément Péron wrote:
> From: Marcus Cooper <codekipper at gmail.com>
> 
> Extend the functionality of the driver to include support of 20 and
> 24 bits per sample.
> 
> Signed-off-by: Marcus Cooper <codekipper at gmail.com>
> Signed-off-by: Clément Péron <peron.clem at gmail.com>
> Acked-by: Maxime Ripard <mripard at kernel.org>
> ---
>  sound/soc/sunxi/sun4i-i2s.c | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
> 
As I have mentioned before, if you want to support a 32-bit slot width on sun4i
variants (which patch 2 does via TDM and this patch does via PCM format), you
need to fix sun4i_i2s_get_wss() to return "3", not "4", for a 32-bit input.

Cheers,
Samuel


More information about the Alsa-devel mailing list