drm/radeon: cleanup properly if mmio mapping fails
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 12 Apr 2013 23:15:52 +0000 (19:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2013 14:34:12 +0000 (10:34 -0400)
commit0cd9cb76ae26a19df21abc6f94f5fff141e689c7
treef2048fcc85cbdda8ead7dc5d0e5244ed8a8d475c
parent2e97be73e5f74a317232740ae82eb8f95326a660
drm/radeon: cleanup properly if mmio mapping fails

If we fail to map the mmio BAR, skip driver tear down
that requires mmio.

Should fix:
https://bugzilla.kernel.org/show_bug.cgi?id=56541

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_kms.c