V4L/DVB (13179): gspca_ov519: cache sensor regs to avoid unnecessary slow i2c reads...
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Oct 2009 10:42:53 +0000 (07:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:45 +0000 (18:40 -0200)
commitfb1f9020609ead93fcec4b0dd02511a46294c147
tree867752434af3591fa3f57abaf315d8b40d3348b9
parenta511ba947600ae263f8c29c86020ba66a901d3e5
V4L/DVB (13179): gspca_ov519: cache sensor regs to avoid unnecessary slow i2c reads / writes

Cache sensor regs to avoid unnecessary slow i2c reads / writes, this speeds
up sd_start a bit with most bridges and a lot (from 5 seconds down to 0.3
seconds) with W996xCF cams, as this avoids very slow bit bang IO over
USB i2c reads.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c