Skip to content
Commit aa472721 authored by Chen Tao's avatar Chen Tao Committed by Rob Clark
Browse files

drm/msm/dpu: fix error return code in dpu_encoder_init

Fix to return negative error code -ENOMEM with the use of
ERR_PTR from dpu_encoder_init.

Fixes: 25fdd593

 ("drm/msm: Add SDM845 DPU support")
Signed-off-by: default avatarChen Tao <chentao107@huawei.com>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 177d3819
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment