spi/pl022: add support for pm_runtime autosuspend
authorChris Blair <chris.blair@stericsson.com>
Tue, 8 Nov 2011 08:54:46 +0000 (08:54 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 1 Dec 2011 16:16:08 +0000 (17:16 +0100)
commit53e4acea0e819a6a8513e10a0773f2259ede0481
tree621636e14849593e0d2381ee20124309ac624713
parent0ad2deeab5d3fc80fc7cd85638f805830254ef1d
spi/pl022: add support for pm_runtime autosuspend

Adds support for configuring the spi bus to use autosuspend for
runtime power management. This can reduce the latency in starting an
spi transfer by not suspending the device immediately following
completion of a transfer. If another transfer then takes place before
the autosuspend timeout, the call to resume the device can return
immediately rather than needing to risk sleeping in order to resume
the device.

Reviewed-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Chris Blair <chris.blair@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c
include/linux/amba/pl022.h
This page took 0.026107 seconds and 5 git commands to generate.