commit | 76231e0297db30f1f0e947a02b42495e7d535d56 | [log] [tgz] |
---|---|---|
author | David Daney <david.daney@cavium.com> | Fri Sep 30 12:17:48 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 30 18:54:08 2011 -0400 |
tree | a0fbf2e596d01de7cfe3d7ea8447b3e72e775ec9 | |
parent | 6fe3264945ee63292cdfb27b6e95bc52c603bb09 [diff] |
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>