Fix a lock problem in generic phy code
authorHans-Jürgen Koch <hjk@linutronix.de>
Fri, 31 Aug 2007 12:30:08 +0000 (14:30 +0200)
committerJeff Garzik <jeff@garzik.org>
Thu, 13 Sep 2007 04:12:43 +0000 (00:12 -0400)
commit026d7917e592f91063861e002adf1c806d7756ae
tree02a5de4f89634c0e8a5b119df7fc4ee91f15da37
parentd1b139c039704c391ab47c6c9540c28f7fcaa489
Fix a lock problem in generic phy code

Lock debugging finds a problem in phy.c and phy_device.c,
this patch fixes it. Tested on an AT91SAM9263-EK board,
kernel 2.6.23-rc4.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c