drm/i915: always return something on DDI clock selection
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 25 Jan 2019 22:24:42 +0000 (14:24 -0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 5 Feb 2019 13:25:27 +0000 (15:25 +0200)
commit2a121030d4ee3f84f60c6f415f9c44bffbcde81d
tree81cfcf1ecf00cd212e0c3e7fd2f5d4f1e90be90a
parent3e0b69bbed7161eee8702eee5dcdc18afc1dc982
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: 1fa11ee2d9d0 ("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 7a61a6dec3dfb9f2e8c39a337580a3c3036c5cdf)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_ddi.c