Skip to content
Commit c6e5485e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Scott Wood
Browse files

powerpc/fsl_pci: simplify fsl_pci_dma_set_mask



swiotlb will only bounce buffer when the effective dma address for the
device is smaller than the actual DMA range.  Instead of flipping between
the swiotlb and nommu ops for FSL SOCs that have the second outbound
window just don't set the bus dma_mask in this case.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarScott Wood <oss@buserror.net>
parent 7811eade
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment