drm: mxsfb: Fix NULL pointer dereference
mxsfb should not ever dereference the NULL pointer which drm_atomic_get_new_bridge_state is allowed to return. Assume a fixed format instead. Fixes: b776b0f0 ("drm: mxsfb: Use bus_format from the nearest bridge if present") Signed-off-by: NAlexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: NMarek Vasut <marex@denx.de> Link: https://patchwork.freedesktop.org/patch/msgid/20220202081755.145716-3-alexander.stein@ew.tq-group.com
Showing
想要评论请 注册 或 登录