summaryrefslogtreecommitdiff
path: root/iosched.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-03iosched: break out io scheduling functions from xutilsDaniel Borkmann1-0/+8
Break this stuff out, for better maintainability and readability. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
>7space:mode:
authorUlf Hansson <ulf.hansson@linaro.org>2016-04-08 13:10:23 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-21 19:31:11 +0200
commit0ae3aeefabbeef26294e7a349b51f1c761d46c9f (patch)
tree0aa249f1af5a84c84d0c555a1b140c609cb01cfb /Documentation/IRQ-affinity.txt
parent16669befb0772eac6a76057b7010ba5b419c0e78 (diff)
PM / Runtime: Fix error path in pm_runtime_force_resume()
As pm_runtime_set_active() may fail because the device's parent isn't active, we can end up executing the ->runtime_resume() callback for the device when it isn't allowed. Fix this by invoking pm_runtime_set_active() before running the callback and let's also deal with the error code. Fixes: 37f204164dfb (PM: Add pm_runtime_suspend|resume_force functions) Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Cc: 3.15+ <stable@vger.kernel.org> # 3.15+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/IRQ-affinity.txt')