Files
linux/drivers/net/usb
Douglas Anderson 31ae7876da r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
[ Upstream commit bc65cc42af ]

If the adapter is unplugged while we're looping in r8153b_ups_en() /
r8153c_ups_en() we could end up looping for 10 seconds (20 ms * 500
loops). Add code similar to what's done in other places in the driver
to check for unplug and bail.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Grant Grundler <grundler@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-08 14:11:02 +01:00
..
2022-08-26 10:00:52 +01:00
2021-10-02 14:18:25 +01:00
2022-07-01 13:39:03 +01:00
2021-06-01 17:05:05 -07:00
2022-08-26 10:00:52 +01:00
2021-06-01 17:05:05 -07:00
2023-02-01 08:34:19 +01:00