drm/i915: don't read HSW_AUD_PIN_ELD_CP_VLD when the power well is off
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 21 May 2014 19:23:20 +0000 (16:23 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 May 2014 13:06:32 +0000 (15:06 +0200)
commita60551b1c9478dc2aaef9e87d6dc7e54e76714b5
tree6f37981a36f6e1c6672d379c1fda209f1569564a
parentbdf1e7e3dbcaf0c45e068b80e91035fa8eca3c0e
drm/i915: don't read HSW_AUD_PIN_ELD_CP_VLD when the power well is off

Because this will trigger "Unclaimed register" messages. All I need to
reproduce this problem is to boot my HSW machine with eDP+HDMI
connected.

Regression introduced by:

commit 9ed109a7b445e3f073d8ea72f888ec80c0532465
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Apr 24 23:54:52 2014 +0200
    drm/i915: Track has_audio in the pipe config

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