diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-03-01 10:56:07 (GMT) |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-06 04:44:48 (GMT) |
commit | 84a5dc41f64faadb79cde600b130c8cbd7e21977 (patch) | |
tree | 281812efcb7a1c3fd46ec0b658062cfee366cf52 /drivers/spi/spi-omap-uwire.c | |
parent | 736198b0486c8d5032456de0813515d954df978a (diff) | |
download | linux-84a5dc41f64faadb79cde600b130c8cbd7e21977.tar.xz |
spi: pl022: Don't ignore power domain and amba bus at system suspend
Previously only the resources controlled by the driver were put into
low power state at system suspend. Both the amba bus and a potential
power domain were ignored.
Moreover, while putting the device into low power state we first
brought it back to full power, but for no particular reason.
To handle both issues above, use pm_runtime_force_suspend|resume() from
the system suspend|resume callbacks.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi-omap-uwire.c')
0 files changed, 0 insertions, 0 deletions