]> git.karo-electronics.de Git - linux-beck.git/commit
PM / Runtime: Idle devices asynchronously after probe|release
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Apr 2013 15:00:48 +0000 (17:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2013 19:42:52 +0000 (12:42 -0700)
commitfa180eb448fa263cf18dd930143b515d27d70d7b
treea4aab2612150892bbc55b7fa7eb1559142429730
parent4e4098a3e08783cfd75f9fcdab276dc1d46931da
PM / Runtime: Idle devices asynchronously after probe|release

Putting devices into idle|suspend in a synchronous manner means we are
waiting for each device to become idle|suspended before the probe|release
is fully done.

This patch switch to use the asynchronous runtime PM API:s instead and
thus improves the parallelism since we can move on and handle the next
device in queue in an earlier phase.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c