aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2018-05-14 14:52:37 +0000
committerRafael J. Wysocki <[email protected]>2018-05-15 08:02:51 +0000
commit94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f (patch)
treee72c7acabfbf9eac4c6cd17c654af2f1f7f950d0 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
parentspi: Respect all error codes from dev_pm_domain_attach() (diff)
downloadkernel-94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f.tar.gz
kernel-94ef9b8e2b941ab7e7ce88fa48ce626fa529bf2f.zip
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 <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Tested-by: Tested-by: Krzysztof Kozlowski <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions