Almost everyone implements dma_set_mask the same way, although some time
that's hidden in -set_dma_mask methods.
This patch consolidates those into a common implementation that either
calls -set_dma_mask if present or otherwise uses the default
implementation. Some architectures used to only
On Thu, Aug 13, 2015 at 05:04:08PM +0200, Christoph Hellwig wrote:
diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c
index 1143c4d..260f52a 100644
--- a/arch/arm/common/dmabounce.c
+++ b/arch/arm/common/dmabounce.c
@@ -440,14 +440,6 @@ static void
Almost everyone implements dma_set_mask the same way, although some time
that's hidden in -set_dma_mask methods.
Move this implementation to common code, including a callout to override
the post-check action, and remove duplicate instaces in methods as well.
Unfortunately some architectures
On Thu, Aug 13, 2015 at 04:25:05PM +0100, Russell King - ARM Linux wrote:
On Thu, Aug 13, 2015 at 05:04:08PM +0200, Christoph Hellwig wrote:
diff --git a/arch/arm/common/dmabounce.c b/arch/arm/common/dmabounce.c
index 1143c4d..260f52a 100644
--- a/arch/arm/common/dmabounce.c
+++