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


Groups > linux.kernel > #1351725 > unrolled thread

[PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume

Started byShawn Lin <shawn.lin@rock-chips.com>
First post2016-03-07 16:50 +0100
Last post2016-03-08 15:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume Shawn Lin <shawn.lin@rock-chips.com> - 2016-03-07 16:50 +0100
    Re: [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from  sdhci_arasan_resume Adrian Hunter <adrian.hunter@intel.com> - 2016-03-08 15:00 +0100

#1351725 — [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume

FromShawn Lin <shawn.lin@rock-chips.com>
Date2016-03-07 16:50 +0100
Subject[PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume
Message-ID<ra5zX-4I3-9@gated-at.bofh.it>
We don't really need disable clk_ahb when failing to resume. Otherwise
we may take risk of bus error for accessing register without clk_ahb.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---

Changes in v7: None
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None

 drivers/mmc/host/sdhci-of-arasan.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci-of-arasan.c b/drivers/mmc/host/sdhci-of-arasan.c
index 1e4b5e0..ae8052d 100644
--- a/drivers/mmc/host/sdhci-of-arasan.c
+++ b/drivers/mmc/host/sdhci-of-arasan.c
@@ -118,7 +118,6 @@ static int sdhci_arasan_resume(struct device *dev)
 	ret = clk_enable(pltfm_host->clk);
 	if (ret) {
 		dev_err(dev, "Cannot enable SD clock.\n");
-		clk_disable(sdhci_arasan->clk_ahb);
 		return ret;
 	}
 
-- 
2.3.7

[toc] | [next] | [standalone]


#1353065 — Re: [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume

FromAdrian Hunter <adrian.hunter@intel.com>
Date2016-03-08 15:00 +0100
SubjectRe: [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume
Message-ID<raql4-1Bi-7@gated-at.bofh.it>
In reply to#1351725
On 07/03/16 17:38, Shawn Lin wrote:
> We don't really need disable clk_ahb when failing to resume. Otherwise
> we may take risk of bus error for accessing register without clk_ahb.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>

Acked-by: Adrian Hunter <adrian.hunter@intel.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web