Clark Wang dffd25725e i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
[ Upstream commit e69b9bc170c6d93ee375a5cbfd15f74c0fb59bdd ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-28 10:18:42 +02:00
..
2019-08-29 21:07:30 +02:00
2020-10-07 08:01:29 +02:00
2021-05-14 09:44:29 +02:00
2021-09-15 09:47:35 +02:00
2021-05-14 09:44:29 +02:00
2021-09-15 09:47:36 +02:00
2019-09-28 20:44:12 +02:00
2021-09-15 09:47:35 +02:00
2021-05-14 09:44:30 +02:00
2022-03-08 19:07:46 +01:00