stmmac: Remove unbalanced clk_disable call
authorHans de Goede <hdegoede@redhat.com>
Tue, 20 May 2014 09:38:18 +0000 (11:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 May 2014 19:16:23 +0000 (15:16 -0400)
commit89df20d951b310f3e33422554054ae6e58a3c7a9
treecd155f564d1112f8bbbf55debfe129f1f5b68cfd
parent4de462ab63e23953fd05da511aeb460ae10cc726
stmmac: Remove unbalanced clk_disable call

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 <hdegoede@redhat.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c