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


Groups > linux.kernel > #1272617

Re: [PATCH] clk: gpio: Get parent clk names already in of_gpio_clk_setup()

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] clk: gpio: Get parent clk names already in of_gpio_clk_setup()
Date 2015-11-18 23:20 +0100
Message-ID <qwjf4-Ju-7@gated-at.bofh.it> (permalink)
References <qvLdo-3kN-27@gated-at.bofh.it> <qvLdo-3kN-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/17, Jyri Sarha wrote:
> Get parent clk names already in of_gpio_clk_setup() and store the
> names in struct clk_gpio_delayed_register_data. of_clk_get_parent_name()
> can not be called in struct of_clk_provider's get() callback since it
> may make a recursive call to of_clk_get_from_provider() and this in turn
> tries to recursively lock of_clk_mutex.
> 
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> Cc: Sergej Sawazki <ce3a@gmx.de>
> ---
> Something has changed in Linux mainline so that getting the clk
> parent names in struct of_clk_provider's get() callback does not work
> anymore. This patch should fix the problem.

Something would be commit 0a4807c2f9a4 (clk: Make
of_clk_get_parent_name() robust with #clock-cells = 1, 2015-10-14)?

The patch looks good. Given that there's one user of this code in
mainline I'll push this as a fix for v4.4.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] clk: gpio: Get parent clk names already in of_gpio_clk_setup() Jyri Sarha <jsarha@ti.com> - 2015-11-17 11:00 +0100
  Re: [PATCH] clk: gpio: Get parent clk names already in  of_gpio_clk_setup() Stephen Boyd <sboyd@codeaurora.org> - 2015-11-18 23:20 +0100

csiph-web