OSDN Git Service

V4L/DVB (11423): gspca - m5602-ov9650: Add a disconnect hook, setup a ctrl cache...
authorErik Andr?n <erik.andren@gmail.com>
Sat, 3 Jan 2009 15:10:11 +0000 (12:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:46 +0000 (21:44 -0300)
commitd9c700d415f05760f0129f798223cb4ac6a46d4b
treedf82be24a75ad853e69a5304a096eb7962b46ded
parent1a3dd5d91a46417e887e285e6d7ceb68097a8535
V4L/DVB (11423): gspca - m5602-ov9650: Add a disconnect hook, setup a ctrl cache ctrl.

Reading and writing to a register doesn't always work reliably. Add a cache
and ensure that it is deallocated properly upon module disconnect.

Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_bridge.h
drivers/media/video/gspca/m5602/m5602_core.c
drivers/media/video/gspca/m5602/m5602_ov9650.c
drivers/media/video/gspca/m5602/m5602_ov9650.h
drivers/media/video/gspca/m5602/m5602_sensor.h