summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-03 16:25:08 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-03 16:25:08 +0200
commit3d6ce86ee79465e1b1b6e287f8ea26b553fc768e (patch)
tree5305a5ffefc514d485ae634e9d53b3e601fafbd3 /drivers/bcma
parent07397df29e57cde5799af16e8f148ae10ed75285 (diff)
downloadlinux-3d6ce86ee79465e1b1b6e287f8ea26b553fc768e.tar.gz
linux-3d6ce86ee79465e1b1b6e287f8ea26b553fc768e.tar.bz2
linux-3d6ce86ee79465e1b1b6e287f8ea26b553fc768e.zip
drivers: remove force dma flag from buses
With each bus implementing its own DMA configuration callback, there is no need for bus to explicitly set the force_dma flag. Modify the of_dma_configure function to accept an input parameter which specifies if implicit DMA configuration is required when it is not described by the firmware. Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> # PCI parts Reviewed-by: Rob Herring <robh@kernel.org> [hch: tweaked the changelog a bit] Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/bcma')
-rw-r--r--drivers/bcma/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c
index e6986c7608f1..fc1f4acdd189 100644
--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -207,7 +207,7 @@ static void bcma_of_fill_device(struct device *parent,
core->irq = bcma_of_get_irq(parent, core, 0);
- of_dma_configure(&core->dev, node);
+ of_dma_configure(&core->dev, node, false);
}
unsigned int bcma_core_irq(struct bcma_device *core, int num)