clk: ti: clkctrl: add support for retrying failed init
authorTero Kristo <t-kristo@ti.com>
Thu, 12 Oct 2017 07:55:29 +0000 (10:55 +0300)
committerTero Kristo <t-kristo@ti.com>
Fri, 1 Dec 2017 13:16:49 +0000 (15:16 +0200)
commit729e13bf58e643b9accd2a14c55b555958702fb0
tree9180a78e859a6d126fed1cb69e788a58c4b39dfc
parentffb009b24388b896d9ca8b54e39a879302142518
clk: ti: clkctrl: add support for retrying failed init

In case the clkctrl node contains assigned-clock-* entries, registering
the provider can fail with -EPROBE_DEFER. In this case, add the
provider to the retry_init clock list so it will be cleaned up later.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/ti/clkctrl.c