diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2018-05-18 18:54:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-18 20:56:08 +0300 |
commit | eb38401c779d350e9e31396471ea072fa29aec9b (patch) | |
tree | ab541afa1af56b98bdd8b0fa1390c811ba0c2ffd /net/core | |
parent | 80a95a80d358ded600a517ea0a93fe86b8f8da84 (diff) | |
download | linux-eb38401c779d350e9e31396471ea072fa29aec9b.tar.xz |
net: stmmac: Populate missing callbacks in HWIF initialization
Some HW specific setups, like sun8i, do not populate all the necessary
callbacks, which is what HWIF helpers were expecting.
Fix this by always trying to get the generic helpers and populate them
if they were not previously populated by HW specific setup.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Fixes: 5f0456b43140 ("net: stmmac: Implement logic to automatically
select HW Interface")
Reported-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Tested-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: Corentin Labbe <clabbe.montjoie@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions