Clark Wang e69b9bc170 i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
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@nxp.com>
Signed-off-by: Carlos Song <carlos.song@nxp.com>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2023-06-23 12:58:24 +02:00
..
2020-09-27 15:14:16 +02:00
2023-02-24 17:12:23 -08:00
2021-08-19 19:18:17 +02:00
2023-04-05 19:41:10 +02:00
2023-02-24 17:12:23 -08:00
2022-07-22 18:46:41 +02:00
2021-04-17 22:00:58 +02:00
2022-01-14 18:50:52 -05:00
2021-11-23 10:00:12 +01:00
2023-02-17 23:18:20 +01:00