]> git.baikalelectronics.ru Git - kernel.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)
committerStephen Boyd <sboyd@kernel.org>
Sat, 12 Mar 2022 03:29:02 +0000 (19:29 -0800)
commit8a901be1cced1033f6a1dd48e62250670d8688a3
tree0544820fbf4caeee05889fdf3458f2b0c468d59a
parent6e424e6bafec35e47db4b693fe41eff065b7dbf6
clk: uniphier: Fix fixed-rate initialization

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: 4f1ef1a486c5 ("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>
drivers/clk/uniphier/clk-uniphier-fixed-rate.c