diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2018-11-01 00:52:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-23 10:17:07 +0300 |
commit | 520d56492bb882094e1b39f155b876233fe5d4da (patch) | |
tree | 95ec8ba41362b2326377f015164dd204cd0ec6e2 /arch | |
parent | 36b0575076d57aadf15feea1a249b6d3a353e5aa (diff) | |
download | linux-520d56492bb882094e1b39f155b876233fe5d4da.tar.xz |
usbnet: smsc95xx: disable carrier check while suspending
[ Upstream commit 7b900ead6cc66b2ee873cb042dfba169aa68b56c ]
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")
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Raghuram Chary J <RaghuramChary.Jallipalli@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions