drivers: i915: Fix BLC PWM register setup
authorSimon Que <sque@chromium.org>
Fri, 11 Nov 2011 01:50:26 +0000 (17:50 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Jan 2012 10:42:29 +0000 (11:42 +0100)
commit2aded1b6bb83cabe3ee5763e5c3834e36bf4a61f
tree77d9b463eb80c7ebdb99d574d8336c6f9337cae3
parent931872fceabacf2d4f8b6fbd51611c167e83164c
drivers: i915: Fix BLC PWM register setup

There is an error in i915_read_blc_pwm_ctl, where the register values
are not being copied correctly.  BLC_PWM_CTL and BLC_PWM_CTL2 are
getting mixed up.  This patch fixes that so that saveBLC_PWM_CTL2 and
not saveBLC_PWM_CTL is copied to the BLC_PWM_CTL2 register.

Signed-off-by: Simon Que <sque@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c