]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: uniphier: Fix fixed-rate initialization
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 9 Mar 2022 06:55:18 +0000 (15:55 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:16 +0000 (13:57 +0200)
commit8f0ea0ccfdde85c8da57ce00148427b00ba0fc76
tree3d6aff49fff11ae1d4f9f7f587afe7699d423e9d
parent7f1d02be6fcd3bf82b2351ce3123d8b77b385ca2
clk: uniphier: Fix fixed-rate initialization

commit ca85a66710a8a1f6b0719397225c3e9ee0abb692 upstream.

Fixed-rate clocks in UniPhier don't have any parent clocks, however,
initial data "init.flags" isn't initialized, so it might be determined
that there is a parent clock for fixed-rate clock.

This sets init.flags to zero as initialization.

Cc: <stable@vger.kernel.org>
Fixes: 734d82f4a678 ("clk: uniphier: add core support code for UniPhier clock driver")
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1646808918-30899-1-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/uniphier/clk-uniphier-fixed-rate.c