drm/i915/bxt: Fix off-by-one error in Broxton PLL IDs
authorImre Deak <imre.deak@intel.com>
Mon, 14 Mar 2016 17:55:34 +0000 (19:55 +0200)
committerImre Deak <imre.deak@intel.com>
Wed, 16 Mar 2016 14:08:44 +0000 (16:08 +0200)
commit08250c4ba650a9d8453166b4c05962766798fe9b
tree97cfa380ff731812c5333328c5ee277ff533fb54
parent31ae71fca7f91101613fac9deb8e858e1319b4f5
drm/i915/bxt: Fix off-by-one error in Broxton PLL IDs

After the commit below the Broxton PLL IDs had an off-by-one error, so
fix this up. Also add a missing brace at intel_shared_dpll_init(), it
happened to compile only due to the way the IS_BROXTON macro is defined.

v2:
- remove debugging left-over

Fixes: a3c988ea068c ("drm/i915: Make SKL/KBL DPLL0 managed by the shared dpll code")
CC: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
CC: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1457978134-12362-1-git-send-email-imre.deak@intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dpll_mgr.c