summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/sti_hdmi.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2014-09-03 19:04:20 +0200
committerDave Airlie <airlied@redhat.com>2014-09-17 11:02:40 +1000
commit7dc9250f1d08f470f8d4e585a2eaeb951d4356be (patch)
tree1753bac2a6b69131ef751f7fc7a1fff8df1f61ee /drivers/gpu/drm/sti/sti_hdmi.c
parent37504a3be90b69438426d74ccf467a9fe192932b (diff)
downloadtalos-obmc-linux-7dc9250f1d08f470f8d4e585a2eaeb951d4356be.tar.gz
talos-obmc-linux-7dc9250f1d08f470f8d4e585a2eaeb951d4356be.zip
drm: sti: do not iterate over the info frame array
avi infoframe is a 13 bytes array, do not read after this limite. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/sti/sti_hdmi.c')
-rw-r--r--drivers/gpu/drm/sti/sti_hdmi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c
index ef93156a69c6..b22968c08d1f 100644
--- a/drivers/gpu/drm/sti/sti_hdmi.c
+++ b/drivers/gpu/drm/sti/sti_hdmi.c
@@ -298,7 +298,6 @@ static int hdmi_avi_infoframe_config(struct sti_hdmi *hdmi)
hdmi_write(hdmi, val, HDMI_SW_DI_N_PKT_WORD2(HDMI_IFRAME_SLOT_AVI));
val = frame[0xC];
- val |= frame[0xD] << 8;
hdmi_write(hdmi, val, HDMI_SW_DI_N_PKT_WORD3(HDMI_IFRAME_SLOT_AVI));
/* Enable transmission slot for AVI infoframe
OpenPOWER on IntegriCloud