summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-03-31 10:46:21 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-10-17 14:35:21 +0100
commitdbd69f5aeb1ae857c76daf1f0abeaa39015a6886 (patch)
treecd3b4fd2b3d3fb153dff3de648ef9d7315a1defc /drivers/firewire
parentada950bc676bbcd7140f1422e700e183b376f2ab (diff)
net: fec: add locking for MDIO bus access
Both fec_restart() and fec_stop() both perform a reset of the FEC. This reset can result in an in-process MDIO transfer being terminated, which can lead to the MDIO read/write functions timing out. Add some locking to prevent this occuring. We can't use a spinlock for this as the MDIO accessor functions use wait_for_completion_timeout(), which sleeps. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions