Hi Carlos, On Mon, Nov 25, 2024 at 10:15:21PM +0800, carlos.song@xxxxxxx wrote: > From: Carlos Song <carlos.song@xxxxxxx> > > Add "i2c_clk_rate / 2" check to avoid "divide by zero warning". > i2c_clk_rate may be zero if i2c clock is disabled. > > Signed-off-by: Carlos Song <carlos.song@xxxxxxx> > Signed-off-by: Clark Wang <xiaoning.wang@xxxxxxx> > Signed-off-by: Haibo Chen <haibo.chen@xxxxxxx> merged to i2c/i2c-host, thanks, Andi