drm/qxl: unset a pointer in sync_obj_unref
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 1 Apr 2014 13:15:47 +0000 (15:15 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Apr 2014 00:30:31 +0000 (10:30 +1000)
commit41ccec352f3c823931a7d9d2a9c7880c14d7415a
tree8b37e19d79aed367cccff676698e182d33cab475
parentbfe8b5738a5d99156d83dc298729552ce82309d5
drm/qxl: unset a pointer in sync_obj_unref

This fixes a BUG_ON(bo->sync_obj != NULL); in ttm_bo_release_list.

Cc: stable@vger.kernel.org #v3.10+
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_ttm.c