[media] cpia2: major overhaul to get it in a working state again
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 29 Apr 2012 11:44:44 +0000 (08:44 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:21:05 +0000 (16:21 -0300)
commit6c493f8b28c6744995e92801a20dca192635dd22
tree90ebbef8d3823edfb23157b894aacd7d4e5a5330
parent04ef052419ac61f28c6b7eafbe5d8e82c02bbee2
[media] cpia2: major overhaul to get it in a working state again

This driver was severely broken. This patch makes it work again, and updates
it to the latest V4L2 frameworks (except for videobuf2). It passes the
v4l2-compliance tests and it now handles suspend/resume correctly.

Several custom controls are replaced by new standard controls, only the
USB_ALTERNATE control remains.

Tested with the Hanse HVS-CM500PC USB microscope.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cpia2/cpia2.h
drivers/media/video/cpia2/cpia2_core.c
drivers/media/video/cpia2/cpia2_usb.c
drivers/media/video/cpia2/cpia2_v4l.c
drivers/media/video/cpia2/cpia2dev.h [deleted file]