[media] adv7604: Cache register contents when reading multiple bits
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 8 Jan 2014 23:26:55 +0000 (20:26 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 15:52:33 +0000 (12:52 -0300)
When extracting multiple bits from a single register read the register
once and extract the bits on the read value.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/adv7604.c

Simple merge