CHROMIUM: drm/anx7808: anx7808 disconnect handling
authorJeremy Thorpe <jeremyt@chromium.org>
Wed, 15 May 2013 16:00:16 +0000 (09:00 -0700)
committerChromeBot <chrome-bot@google.com>
Wed, 15 May 2013 19:12:21 +0000 (12:12 -0700)
commit62511a7568539066439a1bdab7e575dbf6ea38ec
tree41b6c3d65f7d3a74b1d11fd1ea5b07c5ed6dd6d8
parentc17dd45a794c63db0b66faa2e3eddff3104cd6d0
CHROMIUM: drm/anx7808: anx7808 disconnect handling

Currently, if the analogix dongle is disconnected during setup, the setup
function will get stuck.  Handle this by checking for polling error even during
connection process.

BUG=chrome-os-partner:19436
TEST=Plug in a MyDP dongle without connecting to any monitor, then disconnect.
Following that, plug in with connection to monitor.  See that connection is
established.

Change-Id: Ib531547b744d9bd8d07b933448fefc7af6158c4e
Signed-off-by: Jeremy Thorpe <jeremyt@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51301
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
drivers/gpu/drm/bridge/anx7808.c