diff options
author | Jyri Sarha <jsarha@ti.com> | 2015-11-17 09:56:44 (GMT) |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-11-19 01:19:01 (GMT) |
commit | f66541ba02d5cb619b84fa4c5b43b3bcc8764716 (patch) | |
tree | b2f88fa28311b430c044c49e15ca794720178e79 /drivers/clk/mmp/clk-mmp2.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-f66541ba02d5cb619b84fa4c5b43b3bcc8764716.tar.xz |
clk: gpio: Get parent clk names in of_gpio_clk_setup()
Get parent clk names in of_gpio_clk_setup() and store the names
in struct clk_gpio_delayed_register_data instead of doing it from
the clk provider's get() callback. of_clk_get_parent_name() can't
be called in struct of_clk_provider's get() callback since it may
make a 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>
Fixes: 0a4807c2f9a4 ("clk: Make of_clk_get_parent_name() robust with #clock-cells = 1")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mmp/clk-mmp2.c')
0 files changed, 0 insertions, 0 deletions