drm/nouveau: cleanup after display init failure
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 15 Apr 2012 12:36:08 +0000 (14:36 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:31:54 +0000 (16:31 +1000)
commit5ace2c9d6f5bc4600ca43fe188a33efc4c2dba79
tree59b194d4528fe1e3ade4655022dc7574d17053be
parentd37f60c87fbf9dca6724ed42fd55b031f88dd46a
drm/nouveau: cleanup after display init failure

Depending on exact point of failure, not cleaning would lead to
BUG_ONs/oopses in various distant places.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_display.c