1 From 510a127017a0aada2734dbf57d25aaa0189198ff Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Wed, 7 Aug 2019 17:19:33 +0100
4 Subject: [PATCH] pcie-brcmstb: Don't set DMA ops for root complex
6 A change to arm_get_dma_map_ops has stopped get_dma_ops from working
7 on the root complex, causing an error to be logged. However, there is
8 no need to override the DMA ops in that case, so skip it and
9 eliminate the error message.
11 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
13 drivers/pci/controller/pcie-brcmstb.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/drivers/pci/controller/pcie-brcmstb.c
17 +++ b/drivers/pci/controller/pcie-brcmstb.c
18 @@ -665,8 +665,8 @@ static int brcmstb_platform_notifier(str
22 + brcm_set_dma_ops(dev);
24 - brcm_set_dma_ops(dev);
27 case BUS_NOTIFY_DEL_DEVICE: