diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2018-06-15 16:17:27 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-15 09:38:52 -0700 |
commit | 7cfde0af731c14664e3882c7ba77ace1059f2c5e (patch) | |
tree | 596207da1c3aba8a6cd0cb7e22065aeaed1faa62 /net | |
parent | f6a6f203d507aae3a06a8de79c6f0ecc4658b81c (diff) | |
download | linux-7cfde0af731c14664e3882c7ba77ace1059f2c5e.tar.gz linux-7cfde0af731c14664e3882c7ba77ace1059f2c5e.tar.bz2 linux-7cfde0af731c14664e3882c7ba77ace1059f2c5e.zip |
net: stmmac: Run HWIF Quirks after getting HW caps
Currently we were running HWIF quirks before getting HW capabilities.
This is not right because some HWIF callbacks depend on HW caps.
Lets save the quirks callback and use it in a later stage.
This fixes Altera socfpga.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Fixes: 5f0456b43140 ("net: stmmac: Implement logic to automatically select HW Interface")
Reported-by: Dinh Nguyen <dinh.linux@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Vitor Soares <soares@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions