]> git.baikalelectronics.ru Git - kernel.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)
commit31f8a40cdefaca059e906f41cf93114942dc8b80
treec90aeb47ebd226beb030cb655a55cf429039063d
parentda7c6841a52636e7687e80544893398bd433614b
[I2C] pxa: provide late suspend and early resume hooks

Properly hook the I2C driver into the PM code; the previous fix for
this (203264a740c8b8d8cb7fa10542033e4ffea2743a) 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