drm/i915/dp: Check for AUXCH error before checking for success
authorAdam Jackson <ajax@redhat.com>
Tue, 26 Jul 2011 19:39:46 +0000 (15:39 -0400)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Jan 2012 15:47:00 +0000 (16:47 +0100)
commitd7e96feab83d29e27d14c60f1fa7c716ef7880cd
tree84e29428164c44545ff3d533d73034e61f12fc7b
parent092945e11c5b84f66dd08f0b87fb729715d377bc
drm/i915/dp: Check for AUXCH error before checking for success

This is paranoid, but I am entirely willing to believe the hardware
could come up with a condition where I get a status with both the 'done'
and 'receive error' bits set.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c