diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2012-10-17 14:27:16 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-10-17 22:14:24 +0900 |
commit | 4964a26df72c4a82e56c6b40818648d54bde93cc (patch) | |
tree | eb20938684cf5dac86c64751dae83c1b2957a008 /net/dccp/probe.c | |
parent | 0df349945752bf04cee52babf266bbf1f4812193 (diff) | |
download | op-kernel-dev-4964a26df72c4a82e56c6b40818648d54bde93cc.zip op-kernel-dev-4964a26df72c4a82e56c6b40818648d54bde93cc.tar.gz |
spi/pl022: Activate resourses before deactivate them in suspend
To be able to deactivate resourses in suspend, the resourses must
first be surely active. This is done with a pm_runtime_get_sync.
Once the resourses are restored to active state again in resume,
the runtime pm usage count can be decreased with a pm_runtime_put.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'net/dccp/probe.c')
0 files changed, 0 insertions, 0 deletions