]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/psr: Fix register name mess up.
authorDhinakaran Pandiyan <dhinakaran.pandiyan@gmail.com>
Wed, 20 Dec 2017 04:35:20 +0000 (20:35 -0800)
committerJani Nikula <jani.nikula@intel.com>
Tue, 2 Jan 2018 11:44:56 +0000 (13:44 +0200)
commite0093a89f2386f12cc87047b43e93c3c6e15e94e
tree644d555883200da4d95251ceb2fb62e12b1330e7
parent30a7acd573899fd8b8ac39236eff6468b195ac7d
drm/i915/psr: Fix register name mess up.

Commit 77affa31722b ("drm/i915/psr: Fix compiler warnings for
hsw_psr_disable()") swapped status and control registers while fixing
indentation. The _ctl at the end of the status register name must have to
led to this.

Fixes: 77affa31722b ("drm/i915/psr: Fix compiler warnings for hsw_psr_disable()")
References: https://www.mrc-cbu.cam.ac.uk/people/matt.davis/cmabridge/
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171220043520.2599-1-dhinakaran.pandiyan@intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
(cherry picked from commit 14c6547d6df641d3e41fa4f4164f6e267ebfab89)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_psr.c