Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-4
-4
drivers/video/fbdev/au1100fb.c
··· 532 532 clk_disable_unprepare(fbdev->lcdclk); 533 533 clk_put(fbdev->lcdclk); 534 534 } 535 - if (fbdev->fb_mem) { 536 - dma_free_noncoherent(&dev->dev, fbdev->fb_len, fbdev->fb_mem, 537 - fbdev->fb_phys); 538 - } 539 535 if (fbdev->info.cmap.len != 0) { 540 536 fb_dealloc_cmap(&fbdev->info.cmap); 541 537 }