projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1892fc2
)
mcb: Enable PCI bus mastering by default
author
Michael Moese
<michael.moese@men.de>
Wed, 14 Sep 2016 10:05:23 +0000
(12:05 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 27 Sep 2016 10:33:47 +0000
(12:33 +0200)
In order to successfully perform DMA operations on PCI devices,
it is necessary to enble PCI bus mastering, so enable it by default.
Signed-off-by: Michael Moese <michael.moese@men.de>
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mcb/mcb-pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mcb/mcb-pci.c
b/drivers/mcb/mcb-pci.c
index b15a0349cd97623416466df485849a6c02e0c633..af4d2f26f1c620a9cd0cd600739fd22e2aaee16a 100644
(file)
--- a/
drivers/mcb/mcb-pci.c
+++ b/
drivers/mcb/mcb-pci.c
@@
-46,6
+46,7
@@
static int mcb_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
dev_err(&pdev->dev, "Failed to enable PCI device\n");
return -ENODEV;
}
+ pci_set_master(pdev);
priv->mapbase = pci_resource_start(pdev, 0);
if (!priv->mapbase) {