summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorPi-Hsun Shih <pihsun@chromium.org>2019-11-18 14:18:05 +0800
committerCK Hu <ck.hu@mediatek.com>2019-12-20 16:19:10 +0800
commit5bbb71cda6da51d5dd1ca6efd7e0626ad3e2f669 (patch)
treef4ba097696b552b8685ad1bcb40bc3e75d76c935 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
drm/mediatek: Check return value of mtk_drm_ddp_comp_for_plane.
The mtk_drm_ddp_comp_for_plane can return NULL, but the usage doesn't check for it. Add check for it. Fixes: d6b53f68356f ("drm/mediatek: Add helper to get component for a plane") Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Signed-off-by: CK Hu <ck.hu@mediatek.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions