]> git.karo-electronics.de Git - linux-beck.git/commit
stmmac: dwmac-sti: move clk_prepare_enable out of init and add error handling
authorJoachim Eastwood <manabian@gmail.com>
Fri, 4 Nov 2016 17:54:09 +0000 (18:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 03:00:15 +0000 (22:00 -0500)
commitb89cbfb01a2855b5c4e2f9121195439ac210d65b
treea7d6f362b442ad9552a8b45090cfc375efa0ea4b
parent06a6e829bdaf4df5616db2d47978e10e88f1dc32
stmmac: dwmac-sti: move clk_prepare_enable out of init and add error handling

Add clock error handling to probe and in the process move clock enabling
out of sti_dwmac_init() to make this easier.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Tested-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c