diff options
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/hdmi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c index 7ccc118fefed..1201357f3e3c 100644 --- a/drivers/video/hdmi.c +++ b/drivers/video/hdmi.c | |||
@@ -103,10 +103,11 @@ ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, | |||
103 | if (frame->active_aspect & 0xf) | 103 | if (frame->active_aspect & 0xf) |
104 | ptr[0] |= BIT(4); | 104 | ptr[0] |= BIT(4); |
105 | 105 | ||
106 | if (frame->horizontal_bar_valid) | 106 | /* Bit 3 and 2 indicate if we transmit horizontal/vertical bar data */ |
107 | if (frame->top_bar || frame->bottom_bar) | ||
107 | ptr[0] |= BIT(3); | 108 | ptr[0] |= BIT(3); |
108 | 109 | ||
109 | if (frame->vertical_bar_valid) | 110 | if (frame->left_bar || frame->right_bar) |
110 | ptr[0] |= BIT(2); | 111 | ptr[0] |= BIT(2); |
111 | 112 | ||
112 | ptr[1] = ((frame->colorimetry & 0x3) << 6) | | 113 | ptr[1] = ((frame->colorimetry & 0x3) << 6) | |