aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2013-11-13 15:45:03 +0100
committerRafael J. Wysocki <[email protected]>2013-11-14 00:48:19 +0100
commitaa1b9f13b3346352455bfdc343ecff7667b84ff5 (patch)
tree03974c3bb35582ce372d66b6017413146c7e2be1 /lib/test-string_helpers.c
parentea309944e226d655d7d4adca9623c575ba786bbe (diff)
PM / Runtime: Fix error path for prepare
If a device prepare callback for some reason would fail, the PM core prevented the device from going inactive forever. In this case, to reverse the pm_runtime_get_noresume() we invokes the asyncronous pm_runtime_put(), thus restoring the usage count. Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions