[PATCH 2/3] ASoC: es8316: Do not set rate constraints for unsupported MCLKs

Mark Brown broonie at kernel.org
Wed May 24 03:36:34 PDT 2023


On Wed, May 24, 2023 at 10:41:55AM +0300, Cristian Ciocaltea wrote:

> -	es8316->sysclk_constraints.list = es8316->allowed_rates;
> +	es8316->sysclk_constraints.list = count ? es8316->allowed_rates : NULL;

Please write normal conditional statements to improve legibility.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20230524/741d1d5c/attachment.sig>


More information about the Linux-rockchip mailing list