summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-14 10:37:32 +0200
committerChristoph Hellwig <hch@lst.de>2017-06-28 06:54:57 -0700
commitc4d9d598fd2a82136175706e599c4150d0962b1b (patch)
tree341bf231779e241b6175d56d733f7b4b0bbf7802 /drivers/video
parent2e7d1098c00caebc8e31c4d338a49e88c979dd2b (diff)
downloadlinux-c4d9d598fd2a82136175706e599c4150d0962b1b.tar.gz
linux-c4d9d598fd2a82136175706e599c4150d0962b1b.tar.bz2
linux-c4d9d598fd2a82136175706e599c4150d0962b1b.zip
au1100fb: remove a bogus dma_free_nonconsistent call
au1100fb is using managed dma allocations, so it doesn't need to explicitly free the dma memory in the error path (and if it did it would have to use the managed version). Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/au1100fb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/fbdev/au1100fb.c b/drivers/video/fbdev/au1100fb.c
index 35df2c1a8a63..8de42f617d16 100644
--- a/drivers/video/fbdev/au1100fb.c
+++ b/drivers/video/fbdev/au1100fb.c
@@ -532,10 +532,6 @@ failed:
clk_disable_unprepare(fbdev->lcdclk);
clk_put(fbdev->lcdclk);
}
- if (fbdev->fb_mem) {
- dma_free_noncoherent(&dev->dev, fbdev->fb_len, fbdev->fb_mem,
- fbdev->fb_phys);
- }
if (fbdev->info.cmap.len != 0) {
fb_dealloc_cmap(&fbdev->info.cmap);
}