Re: [PATCH v2 2/5] i2c: davinci: query STP always when NACK is received

2014-11-26 Thread Uwe Kleine-König
Hello Grygorii, On Wed, Nov 26, 2014 at 06:31:22PM +0200, Grygorii Strashko wrote: > On 11/26/2014 05:57 PM, Uwe Kleine-König wrote: > >I don't understand your use of "query" in the subject and later in the > >commit log. Do you mean "send"? > > will change to "generate". Ok? yes that would be be

Re: [PATCH v2 2/5] i2c: davinci: query STP always when NACK is received

2014-11-26 Thread Grygorii Strashko
On 11/26/2014 05:57 PM, Uwe Kleine-König wrote: Hello, I don't understand your use of "query" in the subject and later in the commit log. Do you mean "send"? will change to "generate". Ok? On Wed, Nov 26, 2014 at 03:59:50PM +0200, Grygorii Strashko wrote: According to I2C specification the

Re: [PATCH v2 2/5] i2c: davinci: query STP always when NACK is received

2014-11-26 Thread Uwe Kleine-König
Hello, I don't understand your use of "query" in the subject and later in the commit log. Do you mean "send"? On Wed, Nov 26, 2014 at 03:59:50PM +0200, Grygorii Strashko wrote: > According to I2C specification the NACK should be handled as folows: s/folows/follows/ Best regards Uwe -- Pengutro

[PATCH v2 2/5] i2c: davinci: query STP always when NACK is received

2014-11-26 Thread Grygorii Strashko
According to I2C specification the NACK should be handled as folows: "When SDA remains HIGH during this ninth clock pulse, this is defined as the Not Acknowledge signal. The master can then generate either a STOP condition to abort the transfer, or a repeated START condition to start a new transfer