Minor bug fixes to i2c-pasemi
commit080dfbe176c8dd87fc8f27e2941f31171b738f60
authorOlof Johansson <olof@lixom.net>
Tue, 17 Apr 2007 07:32:29 +0000 (17 00:32 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Apr 2007 23:36:28 +0000 (17 16:36 -0700)
treeb154cb521c8390102ef0998d538123c1c3733500
parent56a3b5ebee0be7af723bfad56def48ebf899b7fb
Minor bug fixes to i2c-pasemi

* Last write during i2c_xfer is of the wrong byte (off-by-1).
* Read length is wrong for some of the reads (mistakenly used the PEC
  version)

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/i2c/busses/i2c-pasemi.c