[media] v4l: use i2c_smbus_read_word_swapped
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 21 Oct 2011 12:30:25 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 12:39:29 +0000 (10:39 -0200)
commit3f8770454b82c166662201a8966476f4538cbfeb
tree4092eed169d90ef91790936fa58629e8738a2bab
parent8f4ffb1d4752ebce153e88266ac1164e8ecc5854
[media] v4l: use i2c_smbus_read_word_swapped

Function ensures that error codes don't get mangled.
Dependant on:
which is working it's way through the i2c tree.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m001.c
drivers/media/video/mt9m111.c
drivers/media/video/mt9t031.c
drivers/media/video/mt9v022.c
drivers/media/video/mt9v032.c