Re: [U-Boot] [PATCH v2 1/7] imx: mxc_i2c: tweak the i2c transfer method

2017-10-31 Thread Heiko Schocher
Hello Martyn, Am 31.10.2017 um 13:16 schrieb Martyn Welch: From: Nandor Han Tweak the i2c transfer to work for devices that want to read data without addressing a register. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher Cc: Stefano Babic --- Changes for v2: -

[U-Boot] [PATCH v2 1/7] imx: mxc_i2c: tweak the i2c transfer method

2017-10-31 Thread Martyn Welch
From: Nandor Han Tweak the i2c transfer to work for devices that want to read data without addressing a register. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher Cc: Stefano Babic --- Changes for v2: - Replacing '!= -1' with '>= 0'. drivers/i2c/mxc_i2c.c | 25 ++