linux/drivers
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
..
accessibility
acpi ACPI: irq: Fix incorrect return value in acpi_register_gsi() 2023-10-25 12:03:14 +02:00
amba
android
ata scsi: sd: Introduce manage_shutdown device flag 2023-11-02 09:35:29 +01:00
atm
auxdisplay
base
bcma
block
bluetooth Bluetooth: btusb: add shutdown function for QCA6174 2023-10-25 12:03:10 +02:00
bus
cdrom
char
clk clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name 2023-11-02 09:35:32 +01:00
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto virtio-crypto: handle config changed by work queue 2023-11-02 09:35:23 +01:00
cxl
dax
dca
devfreq
dio
dma dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe 2023-11-08 14:10:58 +01:00
dma-buf
edac
eisa
extcon
firewire scsi: sd: Introduce manage_shutdown device flag 2023-11-02 09:35:29 +01:00
firmware efi: fix memory leak in krealloc failure handling 2023-11-08 14:10:59 +01:00
fpga
fsi
gnss
gpio gpio: vf610: mask the gpio irq in system suspend and support wakeup 2023-10-25 12:03:16 +02:00
gpu drm/amdgpu: Reserve fences for VM update 2023-11-08 14:11:01 +01:00
greybus
hid HID: input: map battery system charging 2023-10-25 12:03:14 +02:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing coresight: tmc-etr: Disable warnings for allocation failures 2023-11-08 14:10:57 +01:00
i2c i2c: aspeed: Fix i2c bus hang in slave read 2023-11-02 09:35:30 +01:00
i3c
idle
iio iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale 2023-11-02 09:35:30 +01:00
infiniband
input Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-11-08 14:10:58 +01:00
interconnect
iommu
ipack
irqchip irqchip/stm32-exti: add missing DT IRQ flag translation 2023-11-08 14:10:57 +01:00
isdn
leds
macintosh
mailbox
mcb mcb-lpc: Reallocate memory region to avoid memory overlapping 2023-11-02 09:35:22 +01:00
md
media
memory
memstick
message
mfd
misc misc: fastrpc: Unmap only if buffer is unmapped from DSP 2023-11-02 09:35:31 +01:00
mmc mmc: core: Fix error propagation for some ioctl commands 2023-11-02 09:35:21 +01:00
most
mtd mtd: physmap-core: Restore map_rom fallback 2023-10-25 12:03:13 +02:00
mux
net r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en() 2023-11-08 14:11:02 +01:00
nfc
ntb
nubus
nvdimm
nvme nvme-rdma: do not try to stop unallocated queues 2023-10-25 12:03:14 +02:00
nvmem nvmem: imx: correct nregs for i.MX6UL 2023-11-02 09:35:31 +01:00
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins 2023-10-25 12:03:16 +02:00
pinctrl pinctrl: qcom: lpass-lpi: fix concurrent register updates 2023-11-02 09:35:22 +01:00
platform platform/mellanox: mlxbf-tmfifo: Fix a warning message 2023-11-08 14:11:01 +01:00
pnp
power pwr-mlxbf: extend Kconfig to include gpio-mlxbf3 dependency 2023-10-25 12:03:09 +02:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator regulator/core: Revert "fix kobject release warning and memory leak in regulator_register()" 2023-10-25 12:03:11 +02:00
remoteproc
reset
rpmsg
rtc
s390 s390/cio: fix a memleak in css_alloc_subchannel 2023-10-25 12:03:15 +02:00
sbus
scsi scsi: mpt3sas: Fix in error path 2023-11-08 14:11:00 +01:00
sh
siox
slimbus
soc
soundwire
spi spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0 2023-11-08 14:10:59 +01:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial: 8250: omap: convert to modern PM ops 2023-10-25 12:03:16 +02:00
ufs
uio
usb USB: serial: option: add Fibocom to DELL custom modem FM101R-GL 2023-10-25 12:03:14 +02:00
vdpa
vfio
vhost vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE 2023-11-02 09:35:23 +01:00
video fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit() 2023-11-08 14:11:00 +01:00
virt
virtio virtio_pci: fix the common cfg map size 2023-11-02 09:35:23 +01:00
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile