drm/i915: Fix incorrect definition of ADPA HSYNC and VSYNC bits
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Tue, 5 Mar 2013 18:09:37 +0000 (19:09 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 6 Mar 2013 09:10:37 +0000 (10:10 +0100)
commit60222c0c2b4d813c72296b55f07d46b19ef83e44
treed488f2391631129238de89d51a514cc6c4b0ffc8
parent44498aea293b37af1d463acd9658cdce1ecdf427
drm/i915: Fix incorrect definition of ADPA HSYNC and VSYNC bits

Disable bits for ADPA HSYNC and VSYNC where mixed up resulting in suspend
becoming standby and vice versa. Fixed by swapping their bit position.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h