]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake
authorYYS <nickey.yang@rock-chips.com>
Tue, 21 Mar 2017 08:27:03 +0000 (16:27 +0800)
committerCK Hu <ck.hu@mediatek.com>
Mon, 22 May 2017 05:49:17 +0000 (13:49 +0800)
commit590f9bed7d2cc71051818128b071e7312bb8b33e
tree3c1547b3e4da5e0d7f40f561388785cb40aff6cc
parent3e359d407d4b13f24ba2358c06b58747dada614b
drm/mediatek: fix mtk_hdmi_setup_vendor_specific_infoframe mistake

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: 3b1b76792a7f ("drm/mediatek: Add HDMI support")
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_hdmi.c