]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ad45c3fd6647b9e2c16d8e2924c680ea0631cee
tree81cfcf1ecf00cd212e0c3e7fd2f5d4f1e90be90a
parent672ed63ab603191c80102896468a63295485018d
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: c57347e38f1c ("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