diff options
author | Chris Pascoe <c.pascoe@itee.uq.edu.au> | 2007-11-19 04:31:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 19:02:22 -0200 |
commit | 7d58d1117ec02f5fe22ddd03ca08fe2a8c777ea2 (patch) | |
tree | 1672eb110109e87ab050415d7727383e8e26f2dc /drivers/ide/ide-floppy.c | |
parent | e155d908f72cc429b538c101ee8ffcd10a44b69b (diff) | |
download | linux-3.10-7d58d1117ec02f5fe22ddd03ca08fe2a8c777ea2.tar.gz linux-3.10-7d58d1117ec02f5fe22ddd03ca08fe2a8c777ea2.tar.bz2 linux-3.10-7d58d1117ec02f5fe22ddd03ca08fe2a8c777ea2.zip |
V4L/DVB (6633): xc2028: make register reads atomic
Issuing register reads as a separate address write and data read transactions
means that other I2C activity could occur in between and state could get out
of sync. Issue both the write and read in a single transaction so that the
i2c layer can prevent other users accessing the bus until we are complete.
Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/ide/ide-floppy.c')
0 files changed, 0 insertions, 0 deletions