summaryrefslogtreecommitdiffstats
path: root/net/vmw_vsock
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2016-04-05 08:46:57 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-06 16:34:03 -0400
commit52f95bbfcf72126a9f90a386a974fcbe6c6cae46 (patch)
tree843ba59d0b0aea925f385cf2c1240251c3d677a4 /net/vmw_vsock
parent6ae81ced378820c4c6434b1dedba14a7122df310 (diff)
downloadop-kernel-dev-52f95bbfcf72126a9f90a386a974fcbe6c6cae46.zip
op-kernel-dev-52f95bbfcf72126a9f90a386a974fcbe6c6cae46.tar.gz
stmmac: fix adjust link call in case of a switch is attached
While initializing the phy, the stmmac driver sets the PHY_IGNORE_INTERRUPT so the PAL won't call the adjust hook that is needed, on some platforms, e.g. STi, to invoke the glue. The patch allows the PAL to poll the stmmac_adjust_link just one time in case of a switch is attached, setting later the PHY_IGNORE_INTERRUPT flag. Moving this kind of logic inside the adjust_link it makes sense to anticipate the check for EEE that will never initialized in this scenario. Reported-by: Gabriel Fernandez <gabriel.fernandez@linaro.org> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Tested-by: Gabriel Fernandez <gabriel.fernandez@linaro.org> Cc: Alexandre TORGUE <alexandre.torgue@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud