Message ID | 20170406052132.GA26605@mwanda (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 04/06/2017 07:21 AM, Dan Carpenter wrote: > 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> > > diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > index 84cc949eae2b..8b605039c613 100644 > --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c > @@ -1318,6 +1318,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; > Thanks for the fix ! Acked-by: Neil Armstrong <narmstrong@baylibre.com>
On 04/06/2017 09:41 AM, Neil Armstrong wrote: > On 04/06/2017 07:21 AM, Dan Carpenter wrote: >> 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> >> >> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c >> index 84cc949eae2b..8b605039c613 100644 >> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c >> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c >> @@ -1318,6 +1318,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; >> > > Thanks for the fix ! > > Acked-by: Neil Armstrong <narmstrong@baylibre.com> > Applied to drm-misc-next Thanks, Neil
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c index 84cc949eae2b..8b605039c613 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c @@ -1318,6 +1318,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;
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>