bcm27xx: 6.1: add kernel patches
[openwrt/staging/stintel.git] / target / linux / bcm27xx / patches-6.1 / 950-0721-fixup-bcm2835-mmc-Really-use-phys-addresses.patch
1 From 0f38c137279dd32e865956aa95aa3787fef11b1a Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 15 May 2023 09:15:56 +0100
4 Subject: [PATCH] fixup! bcm2835-mmc: Really use phys addresses
5
6 Commit [1] is missing a vital line - add it.
7
8 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
9 ---
10 drivers/mmc/host/bcm2835-mmc.c | 2 ++
11 1 file changed, 2 insertions(+)
12
13 --- a/drivers/mmc/host/bcm2835-mmc.c
14 +++ b/drivers/mmc/host/bcm2835-mmc.c
15 @@ -1422,6 +1422,8 @@ static int bcm2835_mmc_probe(struct plat
16 goto err;
17 }
18
19 + host->bus_addr = iomem->start;
20 +
21 #ifndef FORCE_PIO
22 if (node) {
23 host->dma_chan_rxtx = dma_request_slave_channel(dev, "rx-tx");