]> git.karo-electronics.de Git - karo-tx-linux.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)
commit014580ffab654bb83256783a2b185cf6c06dffaa
tree3c1547b3e4da5e0d7f40f561388785cb40aff6cc
parentf752413e26bdc9f73a8a12e280770646555c82fc
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: 8f83f26891e1 ("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