aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorSean Paul <[email protected]>2019-08-07 14:51:50 -0400
committerRob Clark <[email protected]>2019-09-03 16:17:02 -0700
commit5fb9b797d5ccf311ae4aba69e86080d47668b5f7 (patch)
tree889e4793e0f8745a183d2034afff926292c61d59 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentd934a712c5e6a3724dd560b8e92eb230b025ee8d (diff)
drm/msm/dsi: Fix return value check for clk_get_parent
clk_get_parent returns an error pointer upon failure, not NULL. So the checks as they exist won't catch a failure. This patch changes the checks and the return values to properly handle an error pointer. Fixes: c4d8cfe516dc ("drm/msm/dsi: add implementation for helper functions") Cc: Sibi Sankar <[email protected]> Cc: Sean Paul <[email protected]> Cc: Rob Clark <[email protected]> Cc: <[email protected]> # v4.19+ Signed-off-by: Sean Paul <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions