net: dsa: mv88e6xxx: Add missing mutex's in EEE operations.
authorAndrew Lunn <[email protected]>
Thu, 2 Apr 2015 02:06:37 +0000 (04:06 +0200)
committerDavid S. Miller <[email protected]>
Thu, 2 Apr 2015 02:55:41 +0000 (22:55 -0400)
commit2f40c6981ac0adcaa2b3fc64e6ae81f80809aec8
tree24a434d77928f251de1cedc5cd0d4fa95671857b
parentfd3a0ee4063e4f44d915df8f117d9e0d8b05950a
net: dsa: mv88e6xxx: Add missing mutex's in EEE operations.

The phy_mutex should be held while reading and writing to the phy.

Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/dsa/mv88e6xxx.c