diff options
author | Sean Paul <[email protected]> | 2019-05-15 13:00:52 -0400 |
---|---|---|
committer | Sean Paul <[email protected]> | 2019-05-15 16:03:08 -0400 |
commit | 2b117451277140b782f3e4e56a4296c0a165e7ae (patch) | |
tree | a39bf61b41f63724e6c228bb7d9f44f788b4ffca /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 26359dc5cbc2f2fdad983d96ca44c506fed772c7 (diff) |
drm/msm: Upgrade gxpd checks to IS_ERR_OR_NULL
dev_pm_domain_attach_by_name() can return NULL, so we should check for
that case when we're about to dereference gxpd.
Fixes: 9325d4266afd ("drm/msm/gpu: Attach to the GPU GX power domain")
Cc: Jordan Crouse <[email protected]>
Cc: Rob Clark <[email protected]>
Reviewed-by: Jordan Crouse <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions