V4L/DVB (10346): gspca - zc3xx: Fix bad variable type with i2c read.
authorJean-Francois Moine <moinejf@free.fr>
Thu, 8 Jan 2009 12:38:45 +0000 (09:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:30 +0000 (12:42 -0300)
commit3ab67baf36c1f5356afb6424aca77866d91a6b5b
treeb36dc93d52cab1fbf9fac6610f55ac2ba27dc17c
parent36e819db435a61819d50c57c424a5ab2b9634e59
V4L/DVB (10346): gspca - zc3xx: Fix bad variable type with i2c read.

The returned value of i2c read is a 16 bits word. It was stored in
a 8 bits variable, preventing a sensor to be detected.

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