[media] tda8290: Make all read operations atomic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Jan 2011 14:58:36 +0000 (11:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:20 +0000 (11:45 -0200)
Read operations should be preceeded by a write operation. However,
nothing prevents that an I2C operation could happen between the two
transactions.

To avoid that problem, use an unique I2C transfer for both parts of
the I2C transaction.

Cc: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found