[media] gspca - ov519: Define the sensor types in an enum
authorJean-François Moine <moinejf@free.fr>
Thu, 11 Nov 2010 11:27:24 +0000 (08:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:41 +0000 (08:16 -0200)
commit7bbe6b8d1f63c2f7482c93d8cd986b1774e6436d
tree45edc75d50ebcddd835c9aa6448ac96e2bda99a0
parentd6fa66384b38165126ce2866b4bdff756c6fc761
[media] gspca - ov519: Define the sensor types in an enum

This patch also checks if the sensor is well detected at connection time.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c