mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
mtk_hdmi_setup_vendor_specific_infoframe will return before handle
mtk_hdmi_hw_send_info_frame.Because hdmi_vendor_infoframe_pack
returns the number of bytes packed into the binary buffer or
a negative error code on failure.
So correct it.
Fixes: 8f83f26891 ("drm/mediatek: Add HDMI support")
Signed-off-by: Nickey Yang <[email protected]>
Signed-off-by: CK Hu <[email protected]>