summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJeffrey Hugo <jeffrey.l.hugo@gmail.com>2019-05-21 17:00:30 +0200
committerRob Clark <robdclark@chromium.org>2019-06-18 22:54:48 +0200
commitfc19cbb785d7bbd1a1af26229b5240a3ab332744 (patch)
tree557a605e909f05320e4e2378dcdc33fe620dd5bb /Documentation
parentdrm/msm/adreno: Call pm_runtime_force_suspend() during unbind (diff)
downloadlinux-fc19cbb785d7bbd1a1af26229b5240a3ab332744.tar.xz
linux-fc19cbb785d7bbd1a1af26229b5240a3ab332744.zip
drm/msm/mdp5: Fix mdp5_cfg_init error return
If mdp5_cfg_init fails because of an unknown major version, a null pointer dereference occurs. This is because the caller of init expects error pointers, but init returns NULL on error. Fix this by returning the expected values on error. Fixes: 2e362e1772b8 (drm/msm/mdp5: introduce mdp5_cfg module) Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions