drm/i915/ddi: add break in DDI mode select switch
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 17 Nov 2014 21:08:47 +0000 (13:08 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 18 Nov 2014 08:14:32 +0000 (09:14 +0100)
The lack of a break here wasn't for falling through to some other
important code, so made me do a double take.  Add a break just to make
things a little less confusing.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c

index 86745da7b10562a6167fc189aa720168060f4089..07c5625985962a8b2afd20c995d537f5b3d3194d 100644 (file)
@@ -2062,6 +2062,7 @@ void intel_ddi_get_config(struct intel_encoder *encoder,
        switch (temp & TRANS_DDI_MODE_SELECT_MASK) {
        case TRANS_DDI_MODE_SELECT_HDMI:
                pipe_config->has_hdmi_sink = true;
+               break;
        case TRANS_DDI_MODE_SELECT_DVI:
        case TRANS_DDI_MODE_SELECT_FDI:
                break;