aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-3.10/121-bcma-fix-dma-mask.patch
blob: b695bc94aae60465d9da97c8ab834555c5fc7c41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
bcma: fix dma mask


Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 drivers/bcma/main.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/bcma/main.c
+++ b/drivers/bcma/main.c
@@ -155,6 +155,7 @@ static int bcma_register_cores(struct bc
 			core->irq = bus->host_pci->irq;
 			break;
 		case BCMA_HOSTTYPE_SOC:
+			core->dev.coherent_dma_mask = DMA_BIT_MASK(32);
 			core->dev.dma_mask = &core->dev.coherent_dma_mask;
 			core->dma_dev = &core->dev;
 			break;