]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix channel ending action for DP aux transaction
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 23 Jul 2009 17:00:30 +0000 (01:00 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2009 22:16:06 +0000 (15:16 -0700)
commitc586dc8a02732b563a9b5a4f5ae3b005cb3dab36
tree2d61c5d289b81c233a81382bb2e757bb016bdab9
parent3b519318711d0c44e1e400945f892effe9d04d2d
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