mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			677 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			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");
 |