projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91574f
)
pcie-brcmstb: Don't set DMA ops for root complex
author
Phil Elwell
<phil@raspberrypi.org>
Wed, 7 Aug 2019 16:19:33 +0000
(17:19 +0100)
committer
popcornmix
<popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:02 +0000
(16:33 +0100)
A change to arm_get_dma_map_ops has stopped get_dma_ops from working
on the root complex, causing an error to be logged. However, there is
no need to override the DMA ops in that case, so skip it and
eliminate the error message.
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/pci/controller/pcie-brcmstb.c
patch
|
blob
|
history
diff --git
a/drivers/pci/controller/pcie-brcmstb.c
b/drivers/pci/controller/pcie-brcmstb.c
index
746cfb4
..
87fd40a
100644
(file)
--- a/
drivers/pci/controller/pcie-brcmstb.c
+++ b/
drivers/pci/controller/pcie-brcmstb.c
@@
-665,8
+665,8
@@
static int brcmstb_platform_notifier(struct notifier_block *nb,
ret);
return ret;
}
+ brcm_set_dma_ops(dev);
}
- brcm_set_dma_ops(dev);
return NOTIFY_OK;
case BUS_NOTIFY_DEL_DEVICE: