summaryrefslogtreecommitdiffstats
path: root/drivers/mci
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2018-01-10 08:34:30 -0800
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-11 09:44:07 +0100
commit3f9c2b434cacd5b5380ad11d141723f513ebc976 (patch)
tree6bca7349448af81824736f39c55636798b338d5b /drivers/mci
parentaefa16a9069dee90bd2ecbc9a02e064272109890 (diff)
downloadbarebox-3f9c2b434cacd5b5380ad11d141723f513ebc976.tar.gz
barebox-3f9c2b434cacd5b5380ad11d141723f513ebc976.tar.xz
Revert "mci: imx-esdhc: Enable clock"
This reverts commit 61c6c24958934b6b226aa37b3b3a2c089189f52b which is pretty much a duplicate of: a97345102 "i.MX: esdhc: Enable host->clk during initialization" Since we don't need to enable that clock twice reverse the former and keep the latter. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci')
-rw-r--r--drivers/mci/imx-esdhc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 55e8371dd8..b91f94b99c 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -630,7 +630,6 @@ static int fsl_esdhc_probe(struct device_d *dev)
host->clk = clk_get(dev, "per");
if (IS_ERR(host->clk))
return PTR_ERR(host->clk);
- clk_enable(host->clk);
ret = clk_enable(host->clk);
if (ret) {