[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <buy4r64ugalvyfqcctrq5l7ylnryjulf26yohgbzbnsy3asrbg@3ikvipa4keny>
Date: Thu, 5 Dec 2024 13:49:09 +0100
From: Andi Shyti <andi.shyti@...nel.org>
To: carlos.song@....com
Cc: o.rempel@...gutronix.de, kernel@...gutronix.de, shawnguo@...nel.org,
s.hauer@...gutronix.de, festevam@...il.com, frank.li@....com, linux-i2c@...r.kernel.org,
imx@...ts.linux.dev, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: imx: fix divide by zero warning
Hi Carlos,
On Mon, Nov 25, 2024 at 10:15:21PM +0800, carlos.song@....com wrote:
> From: Carlos Song <carlos.song@....com>
>
> 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@....com>
> Signed-off-by: Clark Wang <xiaoning.wang@....com>
> Signed-off-by: Haibo Chen <haibo.chen@....com>
merged to i2c/i2c-host,
thanks,
Andi
Powered by blists - more mailing lists