mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 08:23:17 +00:00
The stmmac_open call was calling clk_disable_unprepare on phy init failure, but it never calls clk_prepare_enable, this causes a WARN_ON in the clk framework to trigger if for some reason phy init fails. Signed-off-by: Hans de Goede <[email protected]> Acked-by: Giuseppe Cavallaro <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: David S. Miller <[email protected]>