[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180816082348.wei7fnbqbzowe6er@pengutronix.de>
Date: Thu, 16 Aug 2018 10:23:48 +0200
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: Esben Haabendal <esben.haabendal@...il.com>
Cc: linux-i2c@...r.kernel.org, Esben Haabendal <eha@...f.com>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Lucas Stach <l.stach@...gutronix.de>,
Fabio Estevam <fabio.estevam@....com>,
Wei Jinhua <wei.jinhua1@....com.cn>,
Phil Reid <preid@...ctromag.com.au>,
Peter Rosin <peda@...ntia.se>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 2/3] i2c: imx: Simplify stopped state tracking
On Thu, Aug 09, 2018 at 02:32:06PM +0200, Esben Haabendal wrote:
> From: Esben Haabendal <eha@...f.com>
>
> Always update the stopped state when busy status have been checked.
> This is identical to what was done before, with the exception of error
> handling.
> Without this change, some errors cause the stopped state to be left in
> incorrect state in i2c_imx_stop(), i2c_imx_dma_read(), i2c_imx_read() and
> i2c_imx_xfer().
>
> Signed-off-by: Esben Haabendal <eha@...f.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Powered by blists - more mailing lists