tmp_suning_uos_patched/drivers/clk/uniphier
Kunihiko Hayashi 2775d8e364 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: 734d82f4a6 ("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>
2022-04-08 14:39:50 +02:00
..
clk-uniphier-core.c drivers/clk: convert VL struct to struct_size 2019-11-08 08:36:12 -08:00
clk-uniphier-cpugear.c clk: uniphier: use semicolons rather than commas to separate statements 2020-10-13 17:43:03 -07:00
clk-uniphier-fixed-factor.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-fixed-rate.c clk: uniphier: Fix fixed-rate initialization 2022-04-08 14:39:50 +02:00
clk-uniphier-gate.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-mio.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier-mux.c clk: uniphier: Fix potential infinite loop 2021-05-14 09:50:26 +02:00
clk-uniphier-peri.c clk: uniphier: Add SCSSI clock gate for each channel 2020-01-04 23:14:22 -08:00
clk-uniphier-sys.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
clk-uniphier.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00