]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pxa2xx: add support for runtime PM
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 22 Jan 2013 10:26:30 +0000 (12:26 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Feb 2013 12:15:32 +0000 (12:15 +0000)
commitb64a35725ad0e9ac9937a8a2eda99a1d0b8a2a84
treef165ad3bce743f1a902fbe7deaed07fa465403ba
parentf99f9e792c479d65cfc372ec5edae03e9ec1e96b
spi/pxa2xx: add support for runtime PM

Drivers should put the device into low power states proactively whenever the
device is not in use. Thus implement support for runtime PM and use the
autosuspend feature to make sure that we can still perform well in case we see
lots of SPI traffic within short period of time.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Tested-by: Lu Cao <lucao@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pxa2xx.c