]> git.karo-electronics.de Git - linux-beck.git/commit
stmmac: dwmac-sti: move st, gmac_en parsing to sti_dwmac_parse_data
authorJoachim Eastwood <manabian@gmail.com>
Fri, 4 Nov 2016 17:54:08 +0000 (18:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Nov 2016 03:00:15 +0000 (22:00 -0500)
commit06a6e829bdaf4df5616db2d47978e10e88f1dc32
tree819f6f2eed51a941e0475d1095e0419eb885d9f7
parent2517cfd4ca78359dfc2bebbb121207d712c9b319
stmmac: dwmac-sti: move st, gmac_en parsing to sti_dwmac_parse_data

The sti_dwmac_init() function is called both from probe and resume.
Since DT properties doesn't change between suspend/resume cycles move
parsing of this parameter into sti_dwmac_parse_data() where it belongs.

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