summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-spin-hardirq.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2018-05-14 17:52:37 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-05-15 11:02:51 +0300
commit94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f (patch)
treee72c7acabfbf9eac4c6cd17c654af2f1f7f950d0 /lib/locking-selftest-spin-hardirq.h
parent71f277a7bf0b0e65e9571940057c70efc4326bc5 (diff)
downloadlinux-94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f.tar.xz
PM / Domains: Don't return -EEXIST at attach when PM domain exists
As dev_pm_domain_attach() isn't the only way to assign PM domain pointers to devices, clearly we must allow a device to have the pointer already being assigned. For this reason, return 0 instead of -EEXIST. Reported-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Tested-by: Tested-by: Krzysztof Kozlowski <krzk@kernel.org> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'lib/locking-selftest-spin-hardirq.h')
0 files changed, 0 insertions, 0 deletions