[media] gspca/sn9c20x: Test if sensor is a OV sensor
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 6 Dec 2010 09:53:05 +0000 (06:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:59 +0000 (08:16 -0200)
commite78567d227ecd40543508342ba39a3dfba5af14f
tree9820a8394c1bbf0857794e295b225ea5fbc63fdf
parentdd89aec47325a251eeaf39ee4b84adb521270cba
[media] gspca/sn9c20x: Test if sensor is a OV sensor

Instead of just assuming a ov9650 sensor based on USB ID,
double-check it, by reading the sensor ID.

Acked-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sn9c20x.c