Thread (2 messages) 2 messages, 2 authors, 2020-05-29

Re: [PATCH v2] clk: mediatek: assign the initial value to clk_init_data of mtk_mux

From: Stephen Boyd <sboyd@kernel.org>
Date: 2020-05-29 04:26:39
Also in: linux-clk, linux-mediatek, lkml, stable

Quoting Weiyi Lu (2020-05-26 23:25:49)
When some new clock supports are introduced, e.g. [1]
it might lead to an error although it should be NULL because
clk_init_data is on the stack and it might have random values
if using without initialization.
Add the missing initial value to clk_init_data.

[1] https://android-review.googlesource.com/c/kernel/common/+/1278046

Fixes: a3ae549917f1 ("clk: mediatek: Add new clkmux register API")
Cc: <redacted>
Signed-off-by: Weiyi Lu <redacted>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
---
Applied to clk-next

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help