mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
NVMe: Enable device DMA
Need to call pci_set_master() to enable device DMA Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
This commit is contained in:
parent
0ee5a7d7cb
commit
f64d3365a3
@ -1105,6 +1105,7 @@ static int __devinit nvme_probe(struct pci_dev *pdev,
|
||||
|
||||
if (pci_enable_device_mem(pdev))
|
||||
goto free;
|
||||
pci_set_master(pdev);
|
||||
|
||||
INIT_LIST_HEAD(&dev->namespaces);
|
||||
dev->pci_dev = pdev;
|
||||
|
Loading…
x
Reference in New Issue
Block a user