openwrt/target/linux/bcm27xx/patches-6.1/950-0721-fixup-bcm2835-mmc-Really-use-phys-addresses.patch
Álvaro Fernández Rojas 793f8ab62c bcm27xx: 6.1: add kernel patches
Add kernel patches for version 6.1.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-06-09 19:12:30 +02:00

24 lines
677 B
Diff

From 0f38c137279dd32e865956aa95aa3787fef11b1a 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");