[PATCH 3/3] mmc: bcm2835: Remove an unnecessary reset call

Stefan Wahren stefan.wahren at i2se.com
Thu Mar 2 11:24:10 PST 2017


It's sufficient to call bcm2835_reset_internal() only once during
probe.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 drivers/mmc/host/bcm2835.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/mmc/host/bcm2835.c b/drivers/mmc/host/bcm2835.c
index 3f4c4a8..7d1b0db 100644
--- a/drivers/mmc/host/bcm2835.c
+++ b/drivers/mmc/host/bcm2835.c
@@ -1258,8 +1258,6 @@ static int bcm2835_add_host(struct bcm2835_host *host)
 	char pio_limit_string[20];
 	int ret;
 
-	bcm2835_reset_internal(host);
-
 	mmc->f_max = host->max_clk;
 	mmc->f_min = host->max_clk / SDCDIV_MAX_CDIV;
 
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list