CHROMIUM: drm: bridge/dw_hdmi: assign CD field to zero
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / bridge / dw-hdmi.c
index d05e1095a0ec5673b86f1fba66b45d8b55226869..3aa550748b1104f0dd27e17bf62c175faab241e5 100644 (file)
@@ -923,7 +923,7 @@ static void hdmi_video_packetize(struct dw_hdmi *hdmi)
                if (!hdmi_data->enc_color_depth) {
                        output_select = HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS;
                } else if (hdmi_data->enc_color_depth == 8) {
-                       color_depth = 4;
+                       color_depth = 0;
                        output_select = HDMI_VP_CONF_OUTPUT_SELECTOR_BYPASS;
                } else if (hdmi_data->enc_color_depth == 10) {
                        color_depth = 5;