commit | c27e3050378ec0d96d964cbf18746a30ad00ab9f | [log] [tgz] |
---|---|---|
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | Sat Oct 22 04:57:54 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Nov 07 11:27:29 2011 -0200 |
tree | 9521555d4d322e88ecd6767b0a1913fa11309579 | |
parent | cfb128ed0768320c2d0e43cf781c8eaa622876b6 [diff] |
[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>