diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2011-10-22 09:57:54 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-07 14:27:29 +0100 |
commit | c27e3050378ec0d96d964cbf18746a30ad00ab9f (patch) | |
tree | 9521555d4d322e88ecd6767b0a1913fa11309579 /drivers/video/sm501fb.c | |
parent | [media] OMAP_VOUT: Increase MAX_DISPLAYS to a larger value (diff) | |
download | linux-c27e3050378ec0d96d964cbf18746a30ad00ab9f.tar.xz linux-c27e3050378ec0d96d964cbf18746a30ad00ab9f.zip |
[media] v4l: mt9p031/mt9t001: Use i2c_smbus_{read|write}_word_swapped()
The MT9P031 and MT9T001 sensors transfer 16-bit data on the I2C bus in
swapped order. Let the I2C core handle byte order by using the
i2c_smbus_{read|write}_word_swapped() functions.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/video/sm501fb.c')
0 files changed, 0 insertions, 0 deletions