fix gianfar unitilized spinlock.
PATCH 1/1 fix gianfar unitilized spinlock.
Fix unitilized spinlock in the gianfar tsec etherenet driver.
Signed-off-by Greg Weeks <[email protected]>
--- all/drivers/net/gianfar.c-orig
+++ all/drivers/net/gianfar.c
@@ -384,6 +384,8 @@
mii_info->mdio_read = &read_phy_reg;
mii_info->mdio_write = &write_phy_reg;
+ spin_lock_init(&mii_info->mdio_lock);
+
priv->mii_info = mii_info;
/* Reset the management interface */
Greg,
This has already been fixed in the current bk tree.
http://ozlabs.org/ppc32-patches/patch.pl?id=279
- kumar
Quoted 4 lines · Greg Weeks
Fix unitilized spinlock in the gianfar tsec etherenet driver.
Signed-off-by Greg Weeks <[email protected]><gianfar.spinlock.patch><ATT152677.txt>