From: Kumar Gala <galak@codeaurora.org>
To: Stephen Boyd <sboyd@codeaurora.org>
Cc: Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver
Date: Thu, 12 Jun 2014 16:23:06 -0500 [thread overview]
Message-ID: <8C69AEA0-877D-4198-BAD4-393695FBC94E@codeaurora.org> (raw)
In-Reply-To: <539A047B.3010306@codeaurora.org>
On Jun 12, 2014, at 2:50 PM, Stephen Boyd <sboyd@codeaurora.org> wrote:
> On 06/12/14 12:13, Kumar Gala wrote:
>> +static int qcom_ahci_probe(struct platform_device *pdev)
>> +{
>> + struct ahci_host_priv *hpriv;
>> + struct clk *rxoob_clk;
>> + int rc;
>> +
>> + hpriv = ahci_platform_get_resources(pdev);
>> + if (IS_ERR(hpriv))
>> + return PTR_ERR(hpriv);
>> +
>> + /* Try and set the rxoob clk to 100Mhz */
>> + rxoob_clk = of_clk_get_by_name(pdev->dev.of_node, "rxoob");
>
> Any reason we can't use devm_clk_get() here?
Was trying to avoid the ref cnt of devm_clk_get() as the clk’s are actually handled in ahci_platform_get_resources/ahci_platform_enable_resources
- k
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
next prev parent reply other threads:[~2014-06-12 21:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-12 19:13 [PATCH 1/3] ahci-platform: Bump max number of clocks to 5 Kumar Gala
2014-06-12 19:13 ` [PATCH 2/3] ata: Add Qualcomm ARM SoC AHCI SATA host controller driver Kumar Gala
2014-06-12 19:50 ` Stephen Boyd
2014-06-12 21:23 ` Kumar Gala [this message]
2014-06-13 14:38 ` Stanimir Varbanov
2014-06-13 16:11 ` Kumar Gala
2014-06-12 19:13 ` [PATCH 3/3] ata: qcom: Add device tree bindings information Kumar Gala
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=8C69AEA0-877D-4198-BAD4-393695FBC94E@codeaurora.org \
--to=galak@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sboyd@codeaurora.org \
--cc=tj@kernel.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
all inboxes | Powered by JetHome®