]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs
authorChristoph Hellwig <hch@lst.de>
Mon, 12 Jun 2017 17:15:04 +0000 (19:15 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:55:00 +0000 (06:55 -0700)
commit63d36c95500400642f656ba1970980746cf437f3
treec56eab12893908e8c8c0d6d7fb12d69c6b89407e
parent03b643866d889d6edc87cdcee2b3880b7879a441
dma-mapping: replace dmam_alloc_noncoherent with dmam_alloc_attrs

dmam_alloc_noncoherent is a trivial wrapper around dmam_alloc_attrs,
that hardcodes one particular flag.  Make the devres code more
flexible by allowing the callers to pass arbitrary flags.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Tejun Heo <tj@kernel.org>
Documentation/driver-model/devres.txt
drivers/base/dma-mapping.c
drivers/video/fbdev/au1200fb.c
include/linux/dma-mapping.h