drm: bridge: dw-hdmi: Add a missing break statement
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 6 Apr 2017 05:21:32 +0000 (08:21 +0300)
committerNeil Armstrong <narmstrong@baylibre.com>
Thu, 6 Apr 2017 08:44:34 +0000 (10:44 +0200)
There was supposed to be a break before the next case statement.

Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170406052132.GA26605@mwanda
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c

index 7dd669945b55441b5c25405565529b3d3ef18f1b..5dc5a5fa44f5319e8b78818d38a67dea2d58a3d3 100644 (file)
@@ -1304,6 +1304,7 @@ static void hdmi_config_AVI(struct dw_hdmi *hdmi, struct drm_display_mode *mode)
                        frame.colorimetry = HDMI_COLORIMETRY_ITU_601;
                frame.extended_colorimetry =
                                HDMI_EXTENDED_COLORIMETRY_XV_YCC_601;
+               break;
        case V4L2_YCBCR_ENC_709:
                if (hdmi->hdmi_data.enc_in_encoding == V4L2_YCBCR_ENC_XV709)
                        frame.colorimetry = HDMI_COLORIMETRY_EXTENDED;