commit | 4aa806b771d16b810771d86ce23c4c3160888db3 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Wed Jun 26 13:49:44 2013 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Sep 17 15:32:37 2013 +0100 |
tree | 5450d1495c1ffbb6d852df44002b95de275deb3f | |
parent | 272b98c6455f00884f0350f775c5342358ebb73f [diff] |
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>