From: Shannon Nelson Date: Thu, 30 Apr 2020 21:33:41 +0000 (-0700) Subject: ionic: no link check until after probe X-Git-Tag: v5.15~3931^2~53^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16f3fd3dccaa167525018a2b9f8140f0fe5903d5;p=platform%2Fkernel%2Flinux-starfive.git ionic: no link check until after probe Don't bother with the link check during probe, let the watchdog notice the first link-up. This allows probe to finish cleanly without any interruptions from over excited user programs opening the device as soon as it is registered. Fixes: c672412f6172 ("ionic: remove lifs on fw reset") Signed-off-by: Shannon Nelson Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c index 5acf4f4..bbc6c79 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c @@ -2549,8 +2549,6 @@ int ionic_lifs_register(struct ionic *ionic) dev_err(ionic->dev, "Cannot register net device, aborting\n"); return err; } - - ionic_link_status_check_request(ionic->master_lif); ionic->master_lif->registered = true; return 0;