linux-stable/drivers/i2c
Clark Wang 9d3e4bca4b i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle
[ Upstream commit e69b9bc170 ]

Claim clkhi and clklo as integer type to avoid possible calculation
errors caused by data overflow.

Fixes: a55fa9d0e4 ("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 11:12:40 +02:00
..
algos
busses i2c: imx-lpi2c: fix type char overflow issue when calculating the clock cycle 2023-06-28 11:12:40 +02:00
muxes i2c: mux: reg: check return value after calling platform_get_resource() 2022-12-31 13:32:42 +01:00
i2c-boardinfo.c
i2c-core-acpi.c More ACPI updates for 6.1-rc1 2022-10-10 13:28:06 -07:00
i2c-core-base.c i2c: Restore initial power state if probe fails 2022-11-14 20:46:31 +01:00
i2c-core-of.c
i2c-core-slave.c
i2c-core-smbus.c
i2c-core.h i2c: acpi: Use ACPI wake capability bit to set wake_irq 2022-10-04 15:41:12 +02:00
i2c-dev.c
i2c-mux.c i2c: mux: harden i2c_mux_alloc() against integer overflows 2022-09-21 22:12:06 +02:00
i2c-slave-eeprom.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
i2c-slave-testunit.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
i2c-smbus.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
i2c-stub.c
Kconfig
Makefile