Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-17 Thread Alexander Shiyan
Hello Sascha. Since you're here, I've found another new patch for the driver: https://patchwork.kernel.org/project/linux-rockchip/patch/20241017-rk809-dcdc3-v1-1-e3c3de92f...@gmail.com/ чт, 17 окт. 2024 г. в 14:05, Sascha Hauer : > > On Wed, Oct 16, 2024 at 07:08:24PM +0300,

Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-17 Thread Sascha Hauer
On Wed, Oct 16, 2024 at 07:08:24PM +0300, Alexander Shiyan wrote: > I'm just saying that we can use i2c-gpio driver on SPI pins since in > rk806 pins are common for i2c/spi :) Ok, that could work. We would still bootstrap the RK806 for I2C mode instead of SPI mode. Anyway, I am not keen on doing t

[PATCH] i2c: lpi2c: fix potential read of uninitialized variable

2024-10-17 Thread Ahmad Fatoum
If the continue statement in the do {} while () loop is reached on the first iteration, the loop condition is evaluated without having first being set. Fix this by initializing it to the maximum length of the I2C message. Signed-off-by: Ahmad Fatoum --- drivers/i2c/busses/i2c-imx-lpi2c.c | 4 ++