Messages in this thread | | | Date | Tue, 24 Oct 2023 23:35:08 +0200 | From | Andi Shyti <> | Subject | Re: [PATCH V2 5/7] i2c: sprd: Configure the enable bit of the I2C controller before each transmission initiation |
| |
On Mon, Oct 23, 2023 at 04:11:56PM +0800, Huangzheng Lai wrote: > When a timeout exception occurs in the I2C driver, the I2C controller > will be reset, and after resetting, control bits such as I2C_EN and > I2C_INT_EN will be reset to 0, and the I2C master cannot initiate > Transmission unless sprd_i2c_enable() is executed. To address this issue, > this patch places sprd_i2c_enable() before each transmission initiation > to ensure that the necessary control bits of the I2C controller are > configured.
where is the timeout occurring? Is it a sporadic failure?
> Signed-off-by: Huangzheng Lai <Huangzheng.Lai@unisoc.com>
Would be nice if any from Orson, Boulin or Chunyan could take a look here.
Andi
| |