summaryrefslogtreecommitdiff
path: root/drivers/zorro
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-22 04:57:54 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 11:27:29 -0200
commitc27e3050378ec0d96d964cbf18746a30ad00ab9f (patch)
tree9521555d4d322e88ecd6767b0a1913fa11309579 /drivers/zorro
parentcfb128ed0768320c2d0e43cf781c8eaa622876b6 (diff)
downloadlinux-3.10-c27e3050378ec0d96d964cbf18746a30ad00ab9f.tar.gz
linux-3.10-c27e3050378ec0d96d964cbf18746a30ad00ab9f.tar.bz2
linux-3.10-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/zorro')
0 files changed, 0 insertions, 0 deletions