drm/i915: Fix channel ending action for DP aux transaction
commiteebc863e469cd91d96c4e3636450596ae29f0502
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 23 Jul 2009 17:00:30 +0000 (24 01:00 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2009 22:16:06 +0000 (29 15:16 -0700)
tree2d61c5d289b81c233a81382bb2e757bb016bdab9
parent249c0e64c24bf455a4e4815f72750f2b16cedd94
drm/i915: Fix channel ending action for DP aux transaction

We should use current channel 'status' bits to clear DP aux channel's
done and error bits, instead of using the channel setting bits, that
will set send/busy bit again to initiate new transaction.

This also includes also some minor cleanup.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_dp.c