diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2020-09-18 16:00:24 +0800 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-09-24 13:53:07 +0100 |
commit | 09fb37b35e34d4735c5cc0a60a6948c44a9c3181 (patch) | |
tree | 75fa141ebad62af35bd238d17ed409aaf4a7c2c6 /drivers/pci/controller/dwc/pcie-designware.c | |
parent | 6b8ab42137e9849ed15e00d5feaf1fa3859b4862 (diff) | |
download | linux-09fb37b35e34d4735c5cc0a60a6948c44a9c3181.tar.bz2 |
misc: pci_endpoint_test: Add driver data for Layerscape PCIe controllers
The commit 0a121f9bc3f5 ("misc: pci_endpoint_test: Use streaming DMA
APIs for buffer allocation") changed to use streaming DMA APIs, however,
dma_map_single() might not return a 4KB aligned address, so add the
default_data as driver data for Layerscape PCIe controllers to make it
4KB aligned.
Link: https://lore.kernel.org/r/20200918080024.13639-13-Zhiqiang.Hou@nxp.com
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware.c')
0 files changed, 0 insertions, 0 deletions