Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1645491

[PATCH 07/41] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 07/41] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd
Date 2017-05-19 12:20 +0200
Message-ID <tINaN-JU-3@gated-at.bofh.it> (permalink)
References <tILiF-7O7-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Now that vmmc regulator is made optional, do not bail out if vmmc
regulator is not found.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 drivers/mmc/host/omap_hsmmc.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index d8970a7ff4be..d47ef51fbe51 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -416,13 +416,6 @@ static int omap_hsmmc_set_power(struct omap_hsmmc_host *host, int power_on,
 	if (mmc_pdata(host)->set_power)
 		return mmc_pdata(host)->set_power(host->dev, power_on, iov);
 
-	/*
-	 * If we don't see a Vcc regulator, assume it's a fixed
-	 * voltage always-on regulator.
-	 */
-	if (!mmc->supply.vmmc)
-		return 0;
-
 	if (mmc_pdata(host)->before_set_reg)
 		mmc_pdata(host)->before_set_reg(host->dev, power_on, iov);
 
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/41] omap_hsmmc: Add ADMA support and UHS/HS200/DDR support Kishon Vijay Abraham I <kishon@ti.com> - 2017-05-19 10:40 +0200
  [PATCH 07/41] mmc: host: omap_hsmmc: Allow io voltage switch even for fixed vdd Kishon Vijay Abraham I <kishon@ti.com> - 2017-05-19 12:20 +0200
  Re: [PATCH 00/41] omap_hsmmc: Add ADMA support and UHS/HS200/DDR  support Tony Lindgren <tony@atomide.com> - 2017-05-20 00:20 +0200
    Re: [PATCH 00/41] omap_hsmmc: Add ADMA support and UHS/HS200/DDR  support Kishon Vijay Abraham I <kishon@ti.com> - 2017-05-22 14:30 +0200

csiph-web