V4L/DVB (6631): xc2028: eliminate i2c macro side-effects
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Mon, 19 Nov 2007 07:14:23 +0000 (04:14 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:21 +0000 (19:02 -0200)
commit47cc5b78102b4e9993ea1c054b4f077cf7aac7db
tree2f4fc9d03c042e1215d56cad7268f1469d80284f
parent794604c3efb511b74fb664af72c5dd7046e91075
V4L/DVB (6631): xc2028: eliminate i2c macro side-effects

The I2C macros have side effects and send_seq could cause a return from
a function with a mutex held.  Change them to behave like real functions.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c