]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[I2C] pxa: provide late suspend and early resume hooks
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 26 Aug 2008 09:40:50 +0000 (10:40 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 9 Sep 2008 15:32:52 +0000 (16:32 +0100)
commite7d48fa2b5fbc7f74bb7ef4a8d7e080b0e831ef0
treec90aeb47ebd226beb030cb655a55cf429039063d
parent387fa6a5eca021ed5bef5454413b7cdfda74ba41
[I2C] pxa: provide late suspend and early resume hooks

Properly hook the I2C driver into the PM code; the previous fix for
this (ece5f7b3c4fde70a1ae4add7372ebca5c90bc34d) worked around the
platform where I2C is required to be available early during resume.

It has been found to be sufficient to use the early resume hook for
this function, so the original hack can die.  Leave the hack in
place for the PIO transfer handler though.

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