Re: [PATCH] clk: vc5: Initialize src in vc5_mux_set_parent()

2018-12-15 Thread Laurent Pinchart
Hi Stephen, On Friday, 14 December 2018 23:49:59 EET Stephen Boyd wrote: > It seems that it may be possible to get to the regmap update call > without ever initializing this variable, so just set it to 0 to be safe. This can't happen as the probe() function would have failed first. I'd thus add

Re: [PATCH] clk: vc5: Initialize src in vc5_mux_set_parent()

2018-12-14 Thread Marek Vasut
On 12/14/2018 10:49 PM, Stephen Boyd wrote: > It seems that it may be possible to get to the regmap update call > without ever initializing this variable, so just set it to 0 to be safe. > > Cc: Marek Vasut > Cc: Alexey Firago > Cc: Laurent Pinchart > Cc: linux-renesas-...@vger.kernel.org >

[PATCH] clk: vc5: Initialize src in vc5_mux_set_parent()

2018-12-14 Thread Stephen Boyd
It seems that it may be possible to get to the regmap update call without ever initializing this variable, so just set it to 0 to be safe. Cc: Marek Vasut Cc: Alexey Firago Cc: Laurent Pinchart Cc: linux-renesas-...@vger.kernel.org Signed-off-by: Stephen Boyd ---