diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2014-09-03 21:04:20 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-09-17 05:02:40 +0400 |
commit | 7dc9250f1d08f470f8d4e585a2eaeb951d4356be (patch) | |
tree | 1753bac2a6b69131ef751f7fc7a1fff8df1f61ee /drivers/gpu/drm/sti/sti_hdmi.c | |
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/sti_hdmi.c')
-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 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 |