diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-09-03 17:04:20 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-17 01:02:40 (GMT) |
commit | 7dc9250f1d08f470f8d4e585a2eaeb951d4356be (patch) | |
tree | 1753bac2a6b69131ef751f7fc7a1fff8df1f61ee /drivers/gpu/drm/sti | |
parent | 37504a3be90b69438426d74ccf467a9fe192932b (diff) | |
download | linux-7dc9250f1d08f470f8d4e585a2eaeb951d4356be.tar.xz |
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')
-rw-r--r-- | drivers/gpu/drm/sti/sti_hdmi.c | 1 |
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 ef93156..b22968c 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 |