i2c: imx: add SMBus block read support
authorKaushal Butala <kaushalkernelmailinglist@gmail.com>
Fri, 4 Apr 2014 12:56:10 +0000 (14:56 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 May 2014 08:09:21 +0000 (10:09 +0200)
commit8e8782c71595a5ad29e234ce6b3d2fce787fb07a
treefe4aa43dbfbd2d10ef8f8ddf855d8093ff617e9e
parent5ed9d92f1b0fbed3fe4370a91b4baed58c3d2a23
i2c: imx: add SMBus block read support

The smbus block read is not currently supported for imx i2c devices.
This patchset adds the support to imx i2c bus so that blocks of data
can be read using SMbus block reads.(using i2c_smbus_read_block_data()
function from the i2c_core.c.). Tested with 3.10.9 kernel.

Reviewed-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Kaushal Butala <kaushalkernelmailinglist@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-imx.c