Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151054
b: refs/heads/master
c: 02aad32
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Benjamin Herrenschmidt committed Jun 15, 2009
1 parent fb2587b commit 0e75196
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3273d8778f90457a495603945e95b47c2c139f22
refs/heads/master: 02aad32c32691b63a47d8e7c098c1822faf88c35
14 changes: 2 additions & 12 deletions trunk/drivers/video/ps3fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1247,7 +1247,6 @@ static int __devinit ps3fb_probe(struct ps3_system_bus_device *dev)

static int ps3fb_shutdown(struct ps3_system_bus_device *dev)
{
int status;
struct fb_info *info = dev->core.driver_data;

dev_dbg(&dev->core, " -> %s:%d\n", __func__, __LINE__);
Expand All @@ -1271,17 +1270,8 @@ static int ps3fb_shutdown(struct ps3_system_bus_device *dev)
info = dev->core.driver_data = NULL;
}
iounmap((u8 __force __iomem *)ps3fb.dinfo);

status = lv1_gpu_context_free(ps3fb.context_handle);
if (status)
dev_dbg(&dev->core, "lv1_gpu_context_free failed: %d\n",
status);

status = lv1_gpu_memory_free(ps3fb.memory_handle);
if (status)
dev_dbg(&dev->core, "lv1_gpu_memory_free failed: %d\n",
status);

lv1_gpu_context_free(ps3fb.context_handle);
lv1_gpu_memory_free(ps3fb.memory_handle);
ps3_close_hv_device(dev);
dev_dbg(&dev->core, " <- %s:%d\n", __func__, __LINE__);

Expand Down

0 comments on commit 0e75196

Please sign in to comment.