Thread (11 messages) 11 messages, 4 authors, 2012-05-18

[PATCH v2 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks

From: Russell King - ARM Linux <hidden>
Date: 2012-05-18 07:49:31
Also in: linux-devicetree, linux-mmc, linux-samsung-soc, lkml

On Thu, May 17, 2012 at 08:40:08PM +0530, Thomas Abraham wrote:
+err_clk:
+	if (!IS_ERR(host->ciu_clk))
+		clk_disable_unprepare(host->ciu_clk);
+	if (!IS_ERR(host->biu_clk))
+		clk_disable_unprepare(host->biu_clk);
+	clk_put(host->ciu_clk);
+	clk_put(host->biu_clk);
+	if (!IS_ERR(host->ciu_clk)) {
+		clk_disable_unprepare(host->ciu_clk);
+		clk_put(host->ciu_clk);
+	}
+	if (!IS_ERR(host->biu_clk)) {
+		clk_disable_unprepare(host->biu_clk);
+		clk_put(host->biu_clk);
+	}

And the same in the other occurrence.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help