[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180226202248.ej3bt5o7sam6qljv@ninjato>
Date: Mon, 26 Feb 2018 21:22:48 +0100
From: Wolfram Sang <wsa@...-dreams.de>
To: George Cherian <george.cherian@...ium.com>
Cc: linux-kernel@...r.kernel.org, linux-i2c@...r.kernel.org
Subject: Re: [PATCH 4/4] i2c: xlp9xx: Check for Bus state after every transfer
On Thu, Jan 18, 2018 at 05:39:24AM +0000, George Cherian wrote:
> I2C bus enters the STOP condition after the DATA_DONE interrupt is raised.
> Essentially the driver should be checking the bus state before sending
> the next transaction.
Yes.
> In case the next transaction is initiated while the
> bus is busy, the prior transactions stop condition is not acheived.
I didn't fully get why you can't check the BUSY bit and wait a little
just before you push out the next message?
> Add the check to make sure the bus is not busy before next transaction.
>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists