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


Groups > linux.kernel > #1380384 > unrolled thread

Re: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-04-16 01:50 +0200
Last post2016-04-16 01:50 +0200
Articles 1 — 1 participant

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

  Re: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU Stephen Boyd <sboyd@codeaurora.org> - 2016-04-16 01:50 +0200

#1380384 — Re: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-04-16 01:50 +0200
SubjectRe: [PATCH 2/2] clk: tegra: Initialize UTMIPLL when enabling PLLU
Message-ID<rolES-2Dq-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web