drm/i915/skl: Make sure to break when not finding suitable PLL dividers
authorDamien Lespiau <damien.lespiau@intel.com>
Thu, 7 May 2015 17:38:38 +0000 (18:38 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:22 +0000 (10:15 +0200)
commit6cf75178deacd87af12a657d914e6bbca806b5ba
tree03b957b3f731b72bbf10406c826e884ce1e5d1ed
parentea875496360cf8f89ea009239bf7ef12cdd4febc
drm/i915/skl: Make sure to break when not finding suitable PLL dividers

Right now, when finishing the cycle with odd dividers without finding a
suitable candidate, we end up in an infinite loop. Make sure to break in
that case.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ddi.c