mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Acked-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
03b643866d
commit
63d36c9550
4 changed files with 23 additions and 25 deletions
|
|
@ -240,7 +240,7 @@ CLOCK
|
|||
|
||||
DMA
|
||||
dmam_alloc_coherent()
|
||||
dmam_alloc_noncoherent()
|
||||
dmam_alloc_attrs()
|
||||
dmam_declare_coherent_memory()
|
||||
dmam_free_coherent()
|
||||
dmam_pool_create()
|
||||
|
|
|
|||
Loading…
Reference in a new issue