From: Jean Delvare Date: Sat, 1 Jul 2006 15:12:53 +0000 (+0200) Subject: [PATCH] i2c-powermac: Fix master_xfer return value X-Git-Tag: v2.6.18-rc2~94^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ced8eee8537b52ef5d77e28d7676ce81bc62359;p=pandora-kernel.git [PATCH] i2c-powermac: Fix master_xfer return value Fix the value returned by the i2c-powermac's master_xfer method. It should return the number of messages processed successfully, but instead returns the number of data bytes in the first (and only) processed message. Also explicitly mention the master_xfer convention so that future implementations get it right directly. Signed-off-by: Jean Delvare Acked-by: Benjamin Herrenschmidt Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed