From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks
Date: Fri, 18 May 2012 08:49:01 +0100 [thread overview]
Message-ID: <20120518074901.GA843@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1337267411-28226-4-git-send-email-thomas.abraham@linaro.org>
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.
next prev parent reply other threads:[~2012-05-18 7:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 15:10 [PATCH v2 0/6] mmc: dw_mmc: add support for device tree based instantiation Thomas Abraham
2012-05-17 15:10 ` [PATCH v2 1/6] mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference Thomas Abraham
2012-05-18 2:24 ` Jaehoon Chung
2012-05-17 15:10 ` [PATCH v2 2/6] mmc: dw_mmc: allow probe to succeed even if one slot is initialized Thomas Abraham
2012-05-17 15:10 ` [PATCH v2 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks Thomas Abraham
2012-05-18 7:49 ` Russell King - ARM Linux [this message]
2012-05-17 15:10 ` [PATCH v2 4/6] mmc: dw_mmc: add quirk to indicate missing write protect line Thomas Abraham
2012-05-17 15:10 ` [PATCH v2 5/6] mmc: dw_mmc: add device tree support Thomas Abraham
2012-05-17 15:10 ` [PATCH v2 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions Thomas Abraham
2012-05-18 1:36 ` Jaehoon Chung
2012-05-18 11:45 ` Seungwon Jeon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120518074901.GA843@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).