[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZNorBff6bK0xIEJC@shikoro>
Date: Mon, 14 Aug 2023 15:24:21 +0200
From: Wolfram Sang <wsa@...nel.org>
To: carlos.song@....com
Cc: andi.shyti@...nel.org, aisheng.dong@....com, shawnguo@...nel.org,
s.hauer@...gutronix.de, kernel@...gutronix.de, festevam@...il.com,
xiaoning.wang@....com, haibo.chen@....com, linux-imx@....com,
linux-i2c@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5] i2c: imx-lpi2c: return -EINVAL when i2c peripheral
clk doesn't work
On Wed, Jul 26, 2023 at 05:22:38PM +0800, carlos.song@....com wrote:
> From: Carlos Song <carlos.song@....com>
>
> On MX8X platforms, the default clock rate is 0 if without explicit
> clock setting in dts nodes. I2c can't work when i2c peripheral clk
> rate is 0.
>
> Add a i2c peripheral clk rate check before configuring the clock
> register. When i2c peripheral clk rate is 0 and directly return
> -EINVAL.
>
> Signed-off-by: Carlos Song <carlos.song@....com>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists