au1100fb: fix DMA API abuse
authorChristoph Hellwig <hch@lst.de>
Sun, 28 Apr 2019 18:47:05 +0000 (13:47 -0500)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 14:00:08 +0000 (16:00 +0200)
commit67f30ad19c4b329dbe47e1563b2017203bd02e34
treeb877f51888b4544ad1eb7988d9ecadb1ac0ba3d1
parente58cfbfb32d1b9bcc8dd5e0c8801c8d518bc51f3
au1100fb: fix DMA API abuse

Virtual addresses return from dma(m)_alloc_coherent are opaque in what
backs then, and drivers must not poke into them.  Switch the driver
to use the generic DMA API mmap helper to avoid these games.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/au1100fb.c
drivers/video/fbdev/au1100fb.h