mirror of
https://github.com/torvalds/linux
synced 2024-10-05 02:44:13 +00:00
Merge branch 'pci/controller/layerscape'
- Set 64-bit DMA mask for layerscape-ep (Guanhua Gao) * pci/controller/layerscape: PCI: layerscape-ep: Set 64-bit DMA mask
This commit is contained in:
commit
e365a36eac
|
@ -266,6 +266,8 @@ static int __init ls_pcie_ep_probe(struct platform_device *pdev)
|
|||
|
||||
pcie->big_endian = of_property_read_bool(dev->of_node, "big-endian");
|
||||
|
||||
dma_set_mask_and_coherent(dev, DMA_BIT_MASK(64));
|
||||
|
||||
platform_set_drvdata(pdev, pcie);
|
||||
|
||||
offset = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP);
|
||||
|
|
Loading…
Reference in a new issue