[PATCH] scx200_acb: Fix the state machine
authorThomas Andrews <tandrews@grok.co.za>
Sat, 1 Jul 2006 15:05:12 +0000 (17:05 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 22:43:06 +0000 (15:43 -0700)
commitfd627a01477dadaef3bc8556e5e9d0ef80310c3a
tree36e25979b44ad7de31e412d2b1a8fe77fca0d3ea
parent39288e1ac10b3b9a68a629be67d81a0b53512c4e
[PATCH] scx200_acb: Fix the state machine

Fix the scx200_acb state machine:

* Nack was sent one byte too late on reads >= 2 bytes.
* Stop bit was set one byte too late on reads.

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