Re: [PATCH] i2c: rk3x: report number of messages transmitted

2015-04-22 Thread Wolfram Sang
On Mon, Apr 20, 2015 at 03:14:47PM -0700, Dmitry Torokhov wrote: master_xfer() method should return number of i2c messages transferred, but on Rockchip we were usually returning just 1, which caused trouble with users that actually check number of transferred messages vs. checking for negative

[PATCH] i2c: rk3x: report number of messages transmitted

2015-04-20 Thread Dmitry Torokhov
master_xfer() method should return number of i2c messages transferred, but on Rockchip we were usually returning just 1, which caused trouble with users that actually check number of transferred messages vs. checking for negative error codes. Signed-off-by: Dmitry Torokhov