diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-14 09:13:48 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-09-22 16:21:42 +0100 |
commit | 92b97f0aaccbf9de4a29696e6253bf82e8850d1d (patch) | |
tree | 0da0f934d8451ca450186c3a77d4fb6de7909f4b /fs | |
parent | 93ee7a9340d64f20295aacc3fb6a22b759323280 (diff) |
PM: add runtime PM support to core Primecell driver
Add runtime PM support to the core Primecell driver, following the PCI
model of how this is done.
Rather than having every driver fiddle about with enabling runtime PM,
that's dealt with in the core and instead, drivers just do a put() in
their probe and a balancing get() in their remove function to activate
runtime PM for the device.
As we're dealing with enabling runtime PM in the core, fix up spi-pl022
as it must not enable and disable runtime PM itself anymore.
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions