Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43789
b: refs/heads/master
c: b2a85ae
h: refs/heads/master
i:
  43787: 481a438
v: v3
  • Loading branch information
Amol Lad authored and Linus Torvalds committed Dec 8, 2006
1 parent 68108a1 commit 9cacdc2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8b8c0a697d60c7d58a3dbda2d78553fd27727b3
refs/heads/master: b2a85aebf9d6cb671085d58dfbbd7b11269d49eb
8 changes: 8 additions & 0 deletions trunk/drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -3527,6 +3527,10 @@ static int __devinit atyfb_setup_generic(struct pci_dev *pdev, struct fb_info *i
atyfb_setup_generic_fail:
iounmap(par->ati_regbase);
par->ati_regbase = NULL;
if (info->screen_base) {
iounmap(info->screen_base);
info->screen_base = NULL;
}
return ret;
}

Expand Down Expand Up @@ -3695,6 +3699,10 @@ static int __devinit atyfb_atari_probe(void)
}

if (aty_init(info, "ISA bus")) {
if (info->screen_base)
iounmap(info->screen_base);
if (par->ati_regbase)
iounmap(par->ati_regbase);
framebuffer_release(info);
/* This is insufficient! kernel_map has added two large chunks!! */
return -ENXIO;
Expand Down

0 comments on commit 9cacdc2

Please sign in to comment.