From: Ulf Hansson Date: Wed, 17 Oct 2012 12:27:16 +0000 (+0200) Subject: spi/pl022: Activate resourses before deactivate them in suspend X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~24^2~10^2~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4964a26df72c4a82e56c6b40818648d54bde93cc;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij Signed-off-by: Mark Brown --- Reading git-diff-tree failed