Skip to content

Commit 2a12103

Browse files
lucasdemarchijnikula
authored andcommitted
drm/i915: always return something on DDI clock selection
Even if we don't have the correct clock and get a warning, we should not skip the return. v2: improve commit message (from Joonas) Fixes: 1fa11ee ("drm/i915/icl: start adding the TBT pll") Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Cc: <stable@vger.kernel.org> # v4.19+ Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190125222444.19926-3-lucas.demarchi@intel.com (cherry picked from commit 7a61a6d) Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent 3e0b69b commit 2a12103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/i915/intel_ddi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1086,7 +1086,7 @@ static uint32_t icl_pll_to_ddi_pll_sel(struct intel_encoder *encoder,
10861086
return DDI_CLK_SEL_TBT_810;
10871087
default:
10881088
MISSING_CASE(clock);
1089-
break;
1089+
return DDI_CLK_SEL_NONE;
10901090
}
10911091
case DPLL_ID_ICL_MGPLL1:
10921092
case DPLL_ID_ICL_MGPLL2:

0 commit comments

Comments
 (0)