Re: [PATCH v2] usbnet: smsc95xx: disable carrier check while suspending

From: David Miller
Date: Sat Nov 03 2018 - 02:50:22 EST


From: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>
Date: Wed, 31 Oct 2018 22:52:19 +0100

> We need to make sure, that the carrier check polling is disabled
> while suspending. Otherwise we can end up with usbnet_read_cmd()
> being issued when only usbnet_read_cmd_nopm() is allowed. If this
> happens, read operations lock up.
>
> Fixes: d69d169493 ("usbnet: smsc95xx: fix link detection for disabled autonegotiation")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>

Applied and queued up for -stable.