]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: i2c-omap: Fix i2c_xfer for 1 msg
authorLadislav Michl <ladis@linux-mips.org>
Tue, 7 Feb 2006 03:45:38 +0000 (19:45 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 7 Feb 2006 03:45:38 +0000 (19:45 -0800)
commitc9089b85d2bc8894fe6e465886ad0f427ef46d82
tree751c52587ec59c6bd06b038a2e08b7175e4f784f
parent1eceaa1781449567248f0faa1c4a471eed7aaafb
[PATCH] ARM: OMAP: i2c-omap: Fix i2c_xfer for 1 msg

omap_i2c_xfer is supposed to return number of messages successfuly
transfered. Remove bogus condition which causes it to fail when
transfering one message.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c