Re: [PATCH 11/17] ASoC: sunxi: sun8i-codec: clarify expression
From: Maxime Ripard
Date: Mon Mar 29 2021 - 04:21:02 EST
On Fri, Mar 26, 2021 at 04:59:21PM -0500, Pierre-Louis Bossart wrote:
> cppcheck warning:
>
> sound/soc/sunxi/sun8i-codec.c:488:28: style: Clarify calculation
> precedence for '%' and '?'. [clarifyCalculation]
> return sample_rate % 4000 ? 22579200 : 24576000;
> ^
>
> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
Acked-by: Maxime Ripard <maxime@xxxxxxxxxx>
Thanks!
Maxime
Attachment:
signature.asc
Description: PGP signature