Re: [PATCH net 1/3] net: mvpp2: Fix clk error path in mvpp2_probe

2018-04-25 Thread Gregory CLEMENT
Hi Maxime, On mer., avril 25 2018, Maxime Chevallier wrote: > When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly > cleaned up. Add another jump label to handle that case, and make sure we > jump to it in the later error cases. > > Fixes: 4792ea04bcd0 ("net: mvpp2: Fix cl

[PATCH net 1/3] net: mvpp2: Fix clk error path in mvpp2_probe

2018-04-25 Thread Maxime Chevallier
When clk_prepare_enable fails for the axi_clk, the mg_clk isn't properly cleaned up. Add another jump label to handle that case, and make sure we jump to it in the later error cases. Fixes: 4792ea04bcd0 ("net: mvpp2: Fix clock resource by adding an optional bus clock") Signed-off-by: Maxime Cheva