lkml.org 
[lkml]   [2020]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: cadence: macb: disable NAPI on error
From
From: Corentin Labbe <clabbe@baylibre.com>
Date: Wed, 10 Jun 2020 09:53:44 +0000

> When the PHY is not working, the macb driver crash on a second try to
> setup it.
> [ 78.545994] macb e000b000.ethernet eth0: Could not attach PHY (-19)
...
> This is due to NAPI left enabled if macb_phylink_connect() fail.
>
> Fixes: 7897b071ac3b ("net: macb: convert to phylink")
> Signed-off-by: Corentin Labbe <clabbe@baylibre.com>

Applied and queued up for v5.5+ -stable, thanks.

\
 
 \ /
  Last update: 2020-06-11 01:23    [W:0.072 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site