bcm2835_smi: re-add dereference to fix DMA transfers

This commit is contained in:
Ezekiel Bethel
2018-12-12 19:11:13 +00:00
committed by popcornmix
parent 7de2ab98eb
commit a75c5b41f5

View File

@@ -879,7 +879,7 @@ static int bcm2835_smi_probe(struct platform_device *pdev)
goto err;
}
addr = of_get_address(node, 0, NULL, NULL);
inst->smi_regs_busaddr = be32_to_cpu(addr);
inst->smi_regs_busaddr = be32_to_cpu(*addr);
err = bcm2835_smi_dma_setup(inst);
if (err)