From: Vincent Abriou Date: Tue, 2 Feb 2016 16:03:57 +0000 (+0100) Subject: drm/sti: HDMI infoframe transmission mode not take into account X-Git-Tag: v4.6-rc1~61^2~3^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50f2138a1c463eb5a256e3c19619753c70a0cbac;p=karo-tx-linux.git drm/sti: HDMI infoframe transmission mode not take into account Set the infoframe transmission mode according to the type of the infoframe. Signed-off-by: Vincent Abriou Reviewed-by: Benjamin Gaignard --- diff --git a/drivers/gpu/drm/sti/sti_hdmi.c b/drivers/gpu/drm/sti/sti_hdmi.c index cd501563c0cc..8537852f0984 100644 --- a/drivers/gpu/drm/sti/sti_hdmi.c +++ b/drivers/gpu/drm/sti/sti_hdmi.c @@ -321,7 +321,7 @@ static void hdmi_infoframe_write_infopack(struct sti_hdmi *hdmi, const u8 *data) /* Enable transmission slot for updated infoframe */ val = hdmi_read(hdmi, HDMI_SW_DI_CFG); - val |= HDMI_IFRAME_CFG_DI_N(HDMI_IFRAME_FIELD, slot); + val |= HDMI_IFRAME_CFG_DI_N(mode, slot); hdmi_write(hdmi, val, HDMI_SW_DI_CFG); }