clk: core: Avoid double initialization of clocks
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tue, 5 Jul 2016 16:23:32 +0000 (18:23 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 13 Aug 2016 01:01:58 +0000 (18:01 -0700)
commit989eafd0b6091c15a0929ea5f520ff926ccaaa25
tree0b70ab9ee222f286a40e77e279dff01a5db646ef
parent915128b621a05c63fa58ca9e4cbdf394bbe592f3
clk: core: Avoid double initialization of clocks

Some clock providers can be initialized via of_clk_init() and also via
platform device probe.

Avoid double initialization of them by setting the OF_POPULATED flag.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c