video: rockchip: hdmi: fix can not disable hdr error

Change-Id: I53f809d78a8a151a6b6985266ec73026bdc0b3a2
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
(cherry picked from commit b60715d9a0)
This commit is contained in:
Zheng Yang
2016-11-18 17:16:15 +08:00
committed by Huang, Tao
parent 53af51be75
commit fb96568f28

View File

@@ -262,7 +262,7 @@ static int hdmi_set_color(struct rk_display_device *device,
hdmi->eotf, value);
if (hdmi->eotf != value &&
(value & hdmi->edid.hdr.hdrinfo.eotf ||
hdmi->eotf == 0))
value == 0))
hdmi->eotf = value;
else
return 0;