imx: mxc_i2c: tweak the i2c transfer method
authorNandor Han <nandor.han@ge.com>
Wed, 8 Nov 2017 15:35:09 +0000 (15:35 +0000)
committerStefano Babic <sbabic@denx.de>
Mon, 20 Nov 2017 08:58:31 +0000 (09:58 +0100)
commit2feec4eafd40b4b121a0f7d7f602e25a39d9d403
tree65b0b4b19d1ff349beabd0228ae5d6272e191e73
parent401cabc287a26f71900153049ce54987bb184a4a
imx: mxc_i2c: tweak the i2c transfer method

Tweak the i2c transfer to work for devices that want to read data
without addressing a register.

Signed-off-by: Nandor Han <nandor.han@ge.com>
Signed-off-by: Martyn Welch <martyn.welch@collabora.co.uk>
Acked-by: Heiko Schocher <hs@denx.de>
Cc: Heiko Schocher <hs@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
drivers/i2c/mxc_i2c.c