Re: [PATCH v2 04/44] ASoC: codecs: adau*: use .auto_selectable_formats

Mark Brown <[email protected]>
Newsgroups gmane.linux.sound
Message-ID <[email protected]>
On Fri, Aug 07, 2026 at 12:53:11AM +0000, Kuninori Morimoto wrote:

> diff --git a/sound/soc/codecs/adau1977.c b/sound/soc/codecs/adau1977.c
> index b42f35b1a6036..b9d9853934216 100644
> --- a/sound/soc/codecs/adau1977.c
> +++ b/sound/soc/codecs/adau1977.c
> @@ -741,6 +741,17 @@ static int adau1977_set_tristate(struct snd_soc_dai *dai, int tristate)
>  		ADAU1977_SAI_OVERTEMP_DRV_HIZ, val);
>  }
>  
> +static const u64 adau1977_selectable_formats =
> +	SND_SOC_POSSIBLE_DAIFMT_I2S	|
> +	SND_SOC_POSSIBLE_DAIFMT_RIGHT_J	|
> +	SND_SOC_POSSIBLE_DAIFMT_LEFT_J	|
> +	SND_SOC_POSSIBLE_DAIFMT_DSP_A	|
> +	SND_SOC_POSSIBLE_DAIFMT_DSP_B	|
> +	SND_SOC_POSSIBLE_DAIFMT_NB_NF	|
> +	SND_SOC_POSSIBLE_DAIFMT_NB_IF	|
> +	SND_SOC_POSSIBLE_DAIFMT_IB_NF	|
> +	SND_SOC_POSSIBLE_DAIFMT_IB_IF;
> +

This looks like another one where not all combinations are supported -
the DSP formats look like they disable invered LRCLK?
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp1+yMACgkQJNaLcl1U
h9BzKAf/VJLkWXXHD12a7MFzlUams4iixqdYhpH6yaZdSBQN/i4v+sikVnDOf/aR
YLU2/vOL1H7HHVUoNCIigM6tFReBUzNRn95avTLnkb55w4wRjURsUcLuc0DB8Biw
mTiZg6OEfi9SsGOCFy8oRKfRQp6hdQyOvA5e/2eWoirijzm3l0pr+JMdEubgHAtK
gV78GXBLOYgJY2S09b9UzB0Vdcr9u/zAChNzBne2vc423i6J3NBwFLqskErtZ7/9
Oq/Tn/o3JjCR74uHVK4YKtYh5+ezoAKRU+E9icyi8nSRsh95lDzg9ohvg/ihI1Ax
6Prl26SCk+lVU4EGsTvn1UbqgU29WA==
=NIbK
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.