commit | 63d36c95500400642f656ba1970980746cf437f3 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Jun 12 19:15:04 2017 +0200 |
committer | Christoph Hellwig <hch@lst.de> | Wed Jun 28 06:55:00 2017 -0700 |
tree | c56eab12893908e8c8c0d6d7fb12d69c6b89407e | |
parent | 03b643866d889d6edc87cdcee2b3880b7879a441 [diff] |
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>