Re: [PATCH] i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle

From: Wolfram Sang
Date: Fri Jun 23 2023 - 04:14:32 EST


On Mon, May 29, 2023 at 04:02:51PM +0800, carlos.song@xxxxxxx wrote:
> From: Clark Wang <xiaoning.wang@xxxxxxx>
>
> Claim clkhi and clklo as integer type to avoid possible calculation
> errors caused by data overflow.
>
> Fixes: a55fa9d0e42e ("i2c: imx-lpi2c: add low power i2c bus driver")
> Signed-off-by: Clark Wang <xiaoning.wang@xxxxxxx>
> Signed-off-by: Carlos Song <carlos.song@xxxxxxx>

Applied to for-current, thanks!

Attachment: signature.asc
Description: PGP signature