Skip to content
Commit 629f2b4e authored by 倪琛's avatar 倪琛 Committed by Neil Armstrong
Browse files

drm/panel: sitronix-st7789v: Add check for of_drm_get_panel_orientation



Add check for the return value of of_drm_get_panel_orientation() and
return the error if it fails in order to catch the error.

Fixes: b27c0f6d ("drm/panel: sitronix-st7789v: add panel orientation support")
Signed-off-by: default avatarChen Ni <nichen@iscas.ac.cn>
Reviewed-by: default avatarMichael Riesch <michael.riesch@wolfvision.net>
Acked-by: default avatarJessica Zhang <quic_jesszhan@quicinc.com>
Link: https://lore.kernel.org/r/20240528030832.2529471-1-nichen@iscas.ac.cn


Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240528030832.2529471-1-nichen@iscas.ac.cn
parent bb195358
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment