Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43791
b: refs/heads/master
c: 57354c4
h: refs/heads/master
i:
  43789: 9cacdc2
  43787: 481a438
  43783: d6e5ef3
  43775: 561312c
v: v3
  • Loading branch information
Amol Lad authored and Linus Torvalds committed Dec 8, 2006
1 parent a8f9826 commit bf3324f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 6792951b6ad13d7b2fff71ae7d2982b2fa1d6788
refs/heads/master: 57354c42f177a2b58fb1f61125ad2cb2e8743a9b
8 changes: 5 additions & 3 deletions trunk/drivers/video/amifb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2407,10 +2407,10 @@ int __init amifb_init(void)
fb_info.fix.smem_len);
if (!videomemory) {
printk("amifb: WARNING! unable to map videomem cached writethrough\n");
videomemory = ZTWO_VADDR(fb_info.fix.smem_start);
}
fb_info.screen_base = (char *)ZTWO_VADDR(fb_info.fix.smem_start);
} else
fb_info.screen_base = (char *)videomemory;

fb_info.screen_base = (char *)videomemory;
memset(dummysprite, 0, DUMMYSPRITEMEMSIZE);

/*
Expand Down Expand Up @@ -2453,6 +2453,8 @@ static void amifb_deinit(void)
{
fb_dealloc_cmap(&fb_info.cmap);
chipfree();
if (videomemory)
iounmap((void*)videomemory);
release_mem_region(CUSTOM_PHYSADDR+0xe0, 0x120);
custom.dmacon = DMAF_ALL | DMAF_MASTER;
}
Expand Down

0 comments on commit bf3324f

Please sign in to comment.