]> err.no Git - linux-2.6/commit
CRIS v32: New version of I2C driver.
authorJesper Nilsson <jesper.nilsson@axis.com>
Fri, 30 Nov 2007 14:54:01 +0000 (15:54 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:25 +0000 (11:06 +0100)
commit201ca54aa039eb1e5143a98311e7ea25afc57ebb
tree977d6c2baecf92f7a9fb2099494b042ea09cb7e9
parent0f229504f804da9c601aeb4690995904d9553b79
CRIS v32: New version of I2C driver.

- Add i2c_write and i2c_read as functions.
- Use spinlocks for critical regions.
- Add config item to set I2C data and clock port.
- Put unneeded testcode inside #if 0.
- Remove CVS id tag.
arch/cris/arch-v32/drivers/i2c.c
arch/cris/arch-v32/drivers/i2c.h