aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/ps3fb.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c
index e00c1dff55de..ce0f8735ae08 100644
--- a/drivers/video/ps3fb.c
+++ b/drivers/video/ps3fb.c
@@ -1247,7 +1247,6 @@ err:
1247 1247
1248static int ps3fb_shutdown(struct ps3_system_bus_device *dev) 1248static int ps3fb_shutdown(struct ps3_system_bus_device *dev)
1249{ 1249{
1250 int status;
1251 struct fb_info *info = dev->core.driver_data; 1250 struct fb_info *info = dev->core.driver_data;
1252 1251
1253 dev_dbg(&dev->core, " -> %s:%d\n", __func__, __LINE__); 1252 dev_dbg(&dev->core, " -> %s:%d\n", __func__, __LINE__);
@@ -1271,17 +1270,8 @@ static int ps3fb_shutdown(struct ps3_system_bus_device *dev)
1271 info = dev->core.driver_data = NULL; 1270 info = dev->core.driver_data = NULL;
1272 } 1271 }
1273 iounmap((u8 __force __iomem *)ps3fb.dinfo); 1272 iounmap((u8 __force __iomem *)ps3fb.dinfo);
1274 1273 lv1_gpu_context_free(ps3fb.context_handle);
1275 status = lv1_gpu_context_free(ps3fb.context_handle); 1274 lv1_gpu_memory_free(ps3fb.memory_handle);
1276 if (status)
1277 dev_dbg(&dev->core, "lv1_gpu_context_free failed: %d\n",
1278 status);
1279
1280 status = lv1_gpu_memory_free(ps3fb.memory_handle);
1281 if (status)
1282 dev_dbg(&dev->core, "lv1_gpu_memory_free failed: %d\n",
1283 status);
1284
1285 ps3_close_hv_device(dev); 1275 ps3_close_hv_device(dev);
1286 dev_dbg(&dev->core, " <- %s:%d\n", __func__, __LINE__); 1276 dev_dbg(&dev->core, " <- %s:%d\n", __func__, __LINE__);
1287 1277