Home
last modified time | relevance | path

Searched hist:"8 ced8eee8537b52ef5d77e28d7676ce81bc62359" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/i2c/busses/
H A Di2c-powermac.cdiff 8ced8eee8537b52ef5d77e28d7676ce81bc62359 Sat Jul 01 10:12:53 CDT 2006 Jean Delvare <khali@linux-fr.org> [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 <khali@linux-fr.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/openbmc/linux/include/linux/
H A Di2c.hdiff 8ced8eee8537b52ef5d77e28d7676ce81bc62359 Sat Jul 01 10:12:53 CDT 2006 Jean Delvare <khali@linux-fr.org> [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 <khali@linux-fr.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>