]> 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)
commit744e446db43bb6500f69dedda0a13d2b70f95a1d
tree3c1547b3e4da5e0d7f40f561388785cb40aff6cc
parentd07fa176912a54e6c7dc3fa840b6b3b75ba9e618
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: 98b4e84d5174 ("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