drm/nouveau: fixup fbcon failure paths
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Thu, 27 Jun 2013 11:38:21 +0000 (13:38 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Jun 2013 01:56:00 +0000 (11:56 +1000)
commit1e2bd5f53b6282e711e9f074765911868f8e7dc1
tree8dea7ed39b4809bba8b4a899f82d08e97fb37ab9
parent198c14a0da9d9407c7394e1a346d4b95fc6258a6
drm/nouveau: fixup fbcon failure paths

Add missing calls, and fix a leak from forgetting to call the unpin function.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Acked-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_fbcon.c