Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1380384
| From | Stephen Boyd <sboyd@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU |
| Date | 2016-04-16 01:50 +0200 |
| Message-ID | <rolES-2Dq-7@gated-at.bofh.it> (permalink) |
| References | <rfejg-2aH-23@gated-at.bofh.it> <rfejg-2aH-21@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/21, Rhyland Klein wrote:
> +static int clk_pllu_enable(struct clk_hw *hw)
> +{
> + struct tegra_clk_pll *pll = to_clk_pll(hw);
> + struct clk *osc = __clk_lookup("osc");
Is there any way to _not_ use __clk_lookup() here? That function
is on my kill list, mostly because it can't handle probe defer
and is a hacky way to circumvent regular clk_get().
> + unsigned long flags, input_rate;
> + unsigned int i;
> + int ret = 0;
> + u32 val;
> +
> + if (!osc) {
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU Stephen Boyd <sboyd@codeaurora.org> - 2016-04-16 01:50 +0200
csiph-web