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

Wolfram Sang wsa at the-dreams.de
Wed Apr 22 00:42:54 PDT 2015


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 error codes.
> 
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>

Applied to for-current, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20150422/7b2fe6a9/attachment.sig>


More information about the Linux-rockchip mailing list