]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] I2C: Fix sgi_xfer return value
authorJean Delvare <khali@linux-fr.org>
Fri, 2 Sep 2005 19:28:00 +0000 (21:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Sep 2005 16:26:54 +0000 (09:26 -0700)
commita89923fff79f8eeed0ccdf51e13453754e48a71e
tree8fbf4d2ad1fce9452404b081035b30c579f3753a
parentd1b2f0a9754d3087ee29b3e88b8f20f2d30090d3
[PATCH] I2C: Fix sgi_xfer return value

The sgi_xfer function returns 0 on success instead of the number of
transfered messages as it is supposed to. This patch fixes that.

Let's just hope that no client chip driver was relying on this
misbehavior.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/algos/i2c-algo-sgi.c