1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-13 03:41:54 +00:00
openmptcprouter/6.1/target/linux/bcm27xx/patches-6.1/950-0723-fixup-bcm2835-mmc-Really-use-phys-addresses.patch
Ycarus (Yannick Chabanois) 3743692973 Fix RPI5 support
2023-11-17 17:31:36 +01:00

23 lines
677 B
Diff

From 8bdca0231fc0547bec9d00f220d1f4b5cb2ff68e Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Mon, 15 May 2023 09:15:56 +0100
Subject: [PATCH] fixup! bcm2835-mmc: Really use phys addresses
Commit [1] is missing a vital line - add it.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
drivers/mmc/host/bcm2835-mmc.c | 2 ++
1 file changed, 2 insertions(+)
--- a/drivers/mmc/host/bcm2835-mmc.c
+++ b/drivers/mmc/host/bcm2835-mmc.c
@@ -1422,6 +1422,8 @@ static int bcm2835_mmc_probe(struct plat
goto err;
}
+ host->bus_addr = iomem->start;
+
#ifndef FORCE_PIO
if (node) {
host->dma_chan_rxtx = dma_request_slave_channel(dev, "rx-tx");