]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3237/1: PXA I2C driver updates
authorRichard Purdie <rpurdie@rpsys.net>
Thu, 12 Jan 2006 16:30:23 +0000 (16:30 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jan 2006 16:30:23 +0000 (16:30 +0000)
commit203264a740c8b8d8cb7fa10542033e4ffea2743a
treec86ba5cc55ce1f60a29be56912535ed16c6296d4
parentfec83bce5e0de98d618a2cf7aac93169d2bf5fee
[ARM] 3237/1: PXA I2C driver updates

Patch from Richard Purdie

This patch adds a check to see if the pxa i2c interface is enabled
before allowing it to be used and resets it if found to be disabled.
This automatically restores the interface if the device has been
suspended and resumed without causing any suspend/resume call ordering
issues.

The patch also fixes a build warning and adds an appropriate module
licence (the module is gpl according to the header).

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/i2c/busses/i2c-pxa.c