[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240906070553.GD275077@black.fi.intel.com>
Date: Fri, 6 Sep 2024 10:05:53 +0300
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Kimriver Liu <kimriver.liu@...ngine.com>
Cc: jarkko.nikula@...ux.intel.com, andriy.shevchenko@...ux.intel.com,
jsd@...ihalf.com, andi.shyti@...nel.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: designware: fix master is holding SCL low while
ENABLE bit is disabled
On Fri, Sep 06, 2024 at 02:54:49PM +0800, Kimriver Liu wrote:
> It was observed issuing ABORT bit(IC_ENABLE[1]) will not work when
> IC_ENABLE is already disabled.
>
> Check if ENABLE bit(IC_ENABLE[0]) is disabled when the master is
> holding SCL low. If ENABLE bit is disabled, the software need
> enable it before trying to issue ABORT bit. otherwise,
> the controller ignores any write to ABORT bit.
>
> Signed-off-by: Kimriver Liu <kimriver.liu@...ngine.com>
>
> ---
> V4->V5: delete master idling checking
Hm, why did you do that? I suggested to consolidate the two into one
function (if possible) not drop it.
Powered by blists - more mailing lists