jz4740_fb: fix DMA API abuse
authorChristoph Hellwig <hch@lst.de>
Fri, 21 Jun 2019 13:13:14 +0000 (15:13 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 21 Jun 2019 13:13:14 +0000 (15:13 +0200)
commit813e34adeefbd4a8ee0d3003db79f1a3b97dfe17
tree086c615727374eeb89fa4e59cf7e4f1b43dff55f
parent56fc5f48200fc432d80a9cffe1b2fe5fe7680f36
jz4740_fb: 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
[b.zolnierkie: patch description fixup]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/jz4740_fb.c