net: dsa: mv88e6xxx: Add missing mutex's in EEE operations.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 2 Apr 2015 02:06:37 +0000 (04:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
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 <andrew@lunn.ch>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c