drm/vc4: Fix NULL deref in HDMI init error path
If you make it here other than through err_destroy_encoder, vc4->hdmi
is still NULL.
Signed-off-by: NEric Anholt <eric@anholt.net>
Showing
想要评论请 注册 或 登录
If you make it here other than through err_destroy_encoder, vc4->hdmi
is still NULL.
Signed-off-by: NEric Anholt <eric@anholt.net>