Skip to content

Commit 9583c54

Browse files
Phil Elwellpopcornmix
authored andcommitted
pcie-brcmstb: Don't set DMA ops for root complex
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>
1 parent abc5378 commit 9583c54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/pci/controller/pcie-brcmstb.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,8 +665,8 @@ static int brcmstb_platform_notifier(struct notifier_block *nb,
665665
ret);
666666
return ret;
667667
}
668+
brcm_set_dma_ops(dev);
668669
}
669-
brcm_set_dma_ops(dev);
670670
return NOTIFY_OK;
671671

672672
case BUS_NOTIFY_DEL_DEVICE:

0 commit comments

Comments
 (0)