drivers: remove force dma flag from buses
authorChristoph Hellwig <hch@lst.de>
Thu, 3 May 2018 14:25:08 +0000 (16:25 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 3 May 2018 14:25:08 +0000 (16:25 +0200)
commit3d6ce86ee79465e1b1b6e287f8ea26b553fc768e
tree5305a5ffefc514d485ae634e9d53b3e601fafbd3
parent07397df29e57cde5799af16e8f148ae10ed75285
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>
drivers/amba/bus.c
drivers/base/platform.c
drivers/bcma/main.c
drivers/dma/qcom/hidma_mgmt.c
drivers/gpu/host1x/bus.c
drivers/of/device.c
drivers/of/of_reserved_mem.c
drivers/pci/pci-driver.c
include/linux/device.h
include/linux/of_device.h