summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRajan Vaja <rajan.vaja@xilinx.com>2018-07-17 06:17:00 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-26 08:36:31 +0200
commitc033654d34c39facad100906ed39b47e87a49206 (patch)
tree8d78ba202f2d8771641ba236aac59bc1315cf1b2 /scripts
parent59d4d41f46084bccc6716a31bdc19af1595aff28 (diff)
clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure
[ Upstream commit f6dab4233d6b64d719109040503b567f71fbfa01 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions