diff options
author | Fugang Duan <B38611@freescale.com> | 2014-01-27 10:16:47 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:57:32 -0400 |
commit | 7588a68dea2971e9b8539927e9262f5ab4d6ecbc (patch) | |
tree | f73f2dbce2a913b46728b9a824005df8a23fa0a7 /drivers | |
parent | 403857ce4fd4d7b989f2df8d15f3bf0f460ed6a7 (diff) |
ENGR00299323-18 net:fec: init complete variable in early to avoid kernel dump
Software clear the MDIO interrupt before MDIO bus access, but
MAC still generate MDIO interrupt. The issue only happen on
imx6slx chip. The patch is a workaround to avoid kernel dump.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 1be19906d85f..e643f354b1a5 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c | |||
@@ -2718,6 +2718,7 @@ fec_probe(struct platform_device *pdev) | |||
2718 | } | 2718 | } |
2719 | } | 2719 | } |
2720 | 2720 | ||
2721 | init_completion(&fep->mdio_done); | ||
2721 | ret = fec_enet_mii_init(pdev); | 2722 | ret = fec_enet_mii_init(pdev); |
2722 | if (ret) | 2723 | if (ret) |
2723 | goto failed_mii_init; | 2724 | goto failed_mii_init; |