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

2020-05-28 Thread Stephen Boyd
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_ini

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

2020-05-26 Thread Weiyi Lu
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.