V4L/DVB (12351): gspca - sn9c20x: Misc fixes
authorBrian Johnson <brijohn@gmail.com>
Thu, 23 Jul 2009 08:55:43 +0000 (05:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:18:16 +0000 (12:18 -0300)
commit00b581ef0d31db9c28215254b64f3890c7c9f939
treea90021a4ee341d38a6d573a76abcad7685559f83
parentf3d6f63302bfcd7462d46bd1fe44146c971634d4
V4L/DVB (12351): gspca - sn9c20x: Misc fixes

* use i2c_w instead of reg_w
* return error on failure
* read the correct number of bytes

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