diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-08-14 10:13:48 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-09-22 17:21:42 +0200 |
commit | 92b97f0aaccbf9de4a29696e6253bf82e8850d1d (patch) | |
tree | 0da0f934d8451ca450186c3a77d4fb6de7909f4b /sound/oss/Makefile | |
parent | Linux 3.1-rc2 (diff) | |
download | linux-92b97f0aaccbf9de4a29696e6253bf82e8850d1d.tar.xz linux-92b97f0aaccbf9de4a29696e6253bf82e8850d1d.zip |
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 'sound/oss/Makefile')
0 files changed, 0 insertions, 0 deletions