summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2019-09-13 11:50:32 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-21 07:19:41 +0200
commit951328b933c0082e47364fdf1874aaf735a5fd4c (patch)
tree7f12f3d9b064011a682fb71a88ac0c9999c3acbe /virt
parenta2c430eb2b670db010cd76cd38b1cae8c233206f (diff)
net: stmmac: Hold rtnl lock in suspend/resume callbacks
[ Upstream commit 19e13cb27b998ff49f07e399b5871bfe5ba7e3f0 ] We need to hold rnl lock in suspend and resume callbacks because phylink requires it. Otherwise we will get a WARN() in suspend and resume. Also, move phylink start and stop callbacks to inside device's internal lock so that we prevent concurrent HW accesses. Fixes: 74371272f97f ("net: stmmac: Convert to phylink and remove phylib logic") Reported-by: Christophe ROULLIER <christophe.roullier@st.com> Tested-by: Christophe ROULLIER <christophe.roullier@st.com> Signed-off-by: Jose Abreu <joabreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions