]> git.ipfire.org Git - thirdparty/linux.git/commit - Documentation/DMA-API.txt
DMA-API: provide a helper to set both DMA and coherent DMA masks
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 26 Jun 2013 12:49:44 +0000 (13:49 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 17 Sep 2013 14:32:37 +0000 (15:32 +0100)
commit4aa806b771d16b810771d86ce23c4c3160888db3
tree5450d1495c1ffbb6d852df44002b95de275deb3f
parent272b98c6455f00884f0350f775c5342358ebb73f
DMA-API: provide a helper to set both DMA and coherent DMA masks

Provide a helper to set both the DMA and coherent DMA masks to the
same value - this avoids duplicated code in a number of drivers,
sometimes with buggy error handling, and also allows us identify
which drivers do things differently.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Documentation/DMA-API-HOWTO.txt
Documentation/DMA-API.txt
include/linux/dma-mapping.h