CRIS v10: Fix bugs in i2c_init and i2c_readreg
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 17 Jan 2008 13:50:47 +0000 (14:50 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:29 +0000 (11:06 +0100)
- Set the variable first to zero after first setup, so we can
  stop multiple calls to i2c_init from trying to setup i2c.

- The last byte read by the master in an i2c transfer needs to
  be NACKed, not ACKed.

- Also, remove useless CVS log and CVS id tags.


No differences found