Skip to content
Commit 3d2ed431 authored by Phong LE's avatar Phong LE Committed by CK Hu
Browse files

drm/mediatek: Handle component type MTK_DISP_OVL_2L correctly

The larb device remains NULL if the type is MTK_DISP_OVL_2L.
A kernel panic is raised when a crtc uses mtk_smi_larb_get or
mtk_smi_larb_put.

Fixes: b17bdd0d

 ("drm/mediatek: add component OVL_2L0")

Signed-off-by: default avatarPhong LE <ple@baylibre.com>
Signed-off-by: default avatarCK Hu <ck.hu@mediatek.com>
parent 839cbf05
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