drm/i915/dp: Flush any outstanding work to turn the VDD off
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 16 Apr 2012 21:43:42 +0000 (22:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 16 Apr 2012 22:34:54 +0000 (00:34 +0200)
As we may kick off a delayed workqueue task to switch of the VDD lines, we
need to complete that task prior to turning off the panel (which itself
depends upon VDD being off).

v2: Don't cancel the outstanding work as this may trigger a deadlock

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Keith Packard <keithp@keithp.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found