diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-03-31 10:46:21 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-10-17 14:35:21 +0100 |
commit | dbd69f5aeb1ae857c76daf1f0abeaa39015a6886 (patch) | |
tree | cd3b4fd2b3d3fb153dff3de648ef9d7315a1defc /MAINTAINERS | |
parent | ada950bc676bbcd7140f1422e700e183b376f2ab (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 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions