]> git.baikalelectronics.ru Git - kernel.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)
commitaac108ba0d9932e6a6a39bfd96f4ff7e83bffbd9
treea7d6f362b442ad9552a8b45090cfc375efa0ea4b
parentdebb09b5de775cab54db20ebe3d7dd14b8231bd5
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