Files
linux/drivers/net/usb
Douglas Anderson f0f9986488 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 17:26:48 +01:00
..
2021-07-27 20:11:45 +01:00
2021-06-17 11:30:25 -07:00
2021-07-27 20:11:43 +01:00
2021-09-17 11:19:58 +01:00
2021-06-01 17:05:05 -07:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:43 +01:00
2023-02-01 08:27:10 +01:00
2021-07-27 20:11:45 +01:00