diff options
author | Rajan Vaja <rajan.vaja@xilinx.com> | 2018-07-17 16:17:00 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-07-25 19:36:46 +0300 |
commit | f6dab4233d6b64d719109040503b567f71fbfa01 (patch) | |
tree | fe98a4194d5d02d2ece5aa3750d5dda4c61e9887 /Makefile | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 (diff) | |
download | linux-f6dab4233d6b64d719109040503b567f71fbfa01.tar.xz |
clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
Fixed factor clock has two initializations at of_clk_init() time
and during platform driver probe. Before of_clk_init() call,
node is marked as populated and so its probe never gets called.
During of_clk_init() fixed factor clock registration may fail if
any of its parent clock is not registered. In this case, it doesn't
get chance to retry registration from probe. Clear OF_POPULATED
flag if fixed factor clock registration fails so that clock
registration is attempted again from probe.
Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions