]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/msm/disp/dpu: fix early dereference of physical encoder
authorJeykumar Sankaran <jsanka@codeaurora.org>
Wed, 8 Aug 2018 02:56:51 +0000 (19:56 -0700)
committerRob Clark <robdclark@gmail.com>
Fri, 10 Aug 2018 22:49:18 +0000 (18:49 -0400)
commit77a209cd7153cd758aa1b1417fb10017bead9454
tree5d2edeb2e8eb075757262063a1fb4b9990589bb5
parentbec2dd69696cb163fe31dd40ac7752056e1bcb97
drm/msm/disp/dpu: fix early dereference of physical encoder

This change validates the physical encoder before it
is dereferenced.

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c