Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139276
b: refs/heads/master
c: cc880a7
h: refs/heads/master
v: v3
  • Loading branch information
Andres Salomon authored and Linus Torvalds committed Apr 1, 2009
1 parent 846cad5 commit bfcfac7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: ccb121e6958eca5f58938e56523fc589fed36fa8
refs/heads/master: cc880a715782fe31116284d90e0b5bfb1411535b
6 changes: 5 additions & 1 deletion trunk/drivers/video/sunxvr500.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,14 @@ static int __devinit e3d_pci_register(struct pci_dev *pdev,
if (err < 0) {
printk(KERN_ERR "e3d: Could not register framebuffer %s\n",
pci_name(pdev));
goto err_unmap_fb;
goto err_free_cmap;
}

return 0;

err_free_cmap:
fb_dealloc_cmap(&info->cmap);

err_unmap_fb:
iounmap(ep->fb_base);

Expand Down Expand Up @@ -389,6 +392,7 @@ static void __devexit e3d_pci_unregister(struct pci_dev *pdev)
pci_release_region(pdev, 0);
pci_release_region(pdev, 1);

fb_dealloc_cmap(&info->cmap);
framebuffer_release(info);

pci_disable_device(pdev);
Expand Down

0 comments on commit bfcfac7

Please sign in to comment.