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)
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>

No differences found