V4L/DVB (13137): gspca_mr97310a: Add controls for vga cams with sensor type 0
commit930bf78c20187f3cbbf0775cd317616c6b681a8a
authorTheodore Kilgore <kilgota@banach.math.auburn.edu>
Mon, 5 Oct 2009 08:11:35 +0000 (5 05:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:30 +0000 (5 18:40 -0200)
tree0b51dc082c3aafadbb1484332764b956374175b5
parent9d2ba7ad802300d6a1830df9268d8ba478c66a18
V4L/DVB (13137): gspca_mr97310a: Add controls for vga cams with sensor type 0

This patch adds controls for vga cams with sensor type 0, in order to
correctly report the present controls, the probing of the sensor type
has been moved from sd_start to sd_config, since this made the sensor
type probing unreliable the detection method was changed.

Note this requires the camera to enter streaming mode, so sd_config now
briefly makes the camera stream.

Signed-off-by: Theodore Kilgore <kilgota@banach.math.auburn.edu>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/mr97310a.c