Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Jean Delvare
Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter lock was released. This change ensures the adapter lock

Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Andy Walls
On Tue, 2010-07-20 at 08:42 +0200, Jean Delvare wrote: Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter

Re: [PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-20 Thread Jean Delvare
On Tue, 20 Jul 2010 08:35:26 -0400, Andy Walls wrote: On Tue, 2010-07-20 at 08:42 +0200, Jean Delvare wrote: Hi Andy, On Mon, 19 Jul 2010 21:11:46 -0400, Andy Walls wrote: There was a small window between writing the cx25840 register address over the i2c bus and reading the register

[PATCH 04/17] cx25840: Make cx25840 i2c register read transactions atomic

2010-07-19 Thread Andy Walls
There was a small window between writing the cx25840 register address over the i2c bus and reading the register contents back from the cx25840 device that the i2c adapter lock was released. This change ensures the adapter lock is not released until the register read is done. Signed-off-by: Andy