Skip to content
Commit 0dc5df49 authored by Chen Tao's avatar Chen Tao Committed by Greg Kroah-Hartman
Browse files

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

[ Upstream commit aa472721 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9a8ecc6a
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