]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Check for a NULL encoder when reverting on error path
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 16:39:21 +0000 (16:39 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Feb 2009 02:21:12 +0000 (12:21 +1000)
commit1dbb1294ade412fbf3f120265e393853640738e3
treed2f7e85ed1ce8afd4e36dd2bfe10f9620756ec8e
parent892ee04a728738047181b68a2791f976ceb62992
drm: Check for a NULL encoder when reverting on error path

We need to skip the connectors with a NULL encoder to match the success
path and avoid an OOPS.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_crtc_helper.c