projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call
[linux-2.6-microblaze.git]
/
drivers
/
video
/
fbdev
/
pxafb.c
diff --git
a/drivers/video/fbdev/pxafb.c
b/drivers/video/fbdev/pxafb.c
index
00b96a7
..
6f972be
100644
(file)
--- a/
drivers/video/fbdev/pxafb.c
+++ b/
drivers/video/fbdev/pxafb.c
@@
-2417,8
+2417,8
@@
static int pxafb_remove(struct platform_device *dev)
free_pages_exact(fbi->video_mem, fbi->video_mem_size);
- dma_free_
wc
(&dev->dev, fbi->dma_buff_size, fbi->dma_buff,
- fbi->dma_buff_phys);
+ dma_free_
coherent
(&dev->dev, fbi->dma_buff_size, fbi->dma_buff,
+
fbi->dma_buff_phys);
return 0;
}