diff options
author | Murali Karicheri <[email protected]> | 2015-03-03 12:52:12 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2015-03-03 14:42:57 -0600 |
commit | c49b8fc26e115a37eca6f7bcef1847eb80f2a4fd (patch) | |
tree | 95916406a9b7ac4bc063310e57df30bb6acbfdde /lib/mpi/mpiutil.c | |
parent | 6675a601d72be408025e675599702e30a99188aa (diff) |
of/pci: Add of_pci_dma_configure() to update DMA configuration
Add of_pci_dma_configure() to allow updating the DMA configuration of the
PCI device using the configuration from DT of the parent of the root bridge
device. Use the newly added APIs pci_get/put_host_bridge_device() for
implementing this.
[bhelgaas: fold in fix for host bridges with no parent OF device]
Tested-by: Suravee Suthikulpanit <[email protected]> (AMD Seattle)
Signed-off-by: Murali Karicheri <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Will Deacon <[email protected]>
CC: Joerg Roedel <[email protected]>
CC: Grant Likely <[email protected]>
CC: Russell King <[email protected]>
CC: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions