netdev/phy/icplus: Use mdiobus_write() and mdiobus_read() for proper locking.
authorDavid Daney <david.daney@cavium.com>
Fri, 30 Sep 2011 12:17:48 +0000 (12:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Sep 2011 22:54:08 +0000 (18:54 -0400)
commit76231e0297db30f1f0e947a02b42495e7d535d56
treea0fbf2e596d01de7cfe3d7ea8447b3e72e775ec9
parent6fe3264945ee63292cdfb27b6e95bc52c603bb09
netdev/phy/icplus: Use mdiobus_write() and mdiobus_read() for proper locking.

Usually you have to take the bus lock.  Why not here too?

I saw this when working on something else.  Not even compile tested.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Cc: "Uwe Kleine-Konig" <u.kleine-koenig@pengutronix.de>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c