WSL2-Linux-Kernel/drivers
Matthias Schiffer 83b6d4d6da serial: 8250_omap: remove wait loop from Errata i202 workaround
[ Upstream commit e828e56684 ]

We were occasionally seeing the "Errata i202: timedout" on an AM335x
board when repeatedly opening and closing a UART connected to an active
sender. As new input may arrive at any time, it is possible to miss the
"RX FIFO empty" condition, forcing the loop to wait until it times out.

Nothing in the i202 Advisory states that such a wait is even necessary;
other FIFO clear functions like serial8250_clear_fifos() do not wait
either. For this reason, it seems safe to remove the wait, fixing the
mentioned issue.

Fixes: 61929cf016 ("tty: serial: Add 8250-core based omap driver")
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/20221013112339.2540767-1-matthias.schiffer@ew.tq-group.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-26 09:24:34 +01:00
..
accessibility
acpi ACPI: x86: Add another system to quirk list for forcing StorageD3Enable 2022-11-26 09:24:31 +01:00
amba
android
ata ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure 2022-11-16 09:58:26 +01:00
atm
auxdisplay
base
bcma
block
bluetooth
bus
cdrom
char
clk clk: qcom: Update the force mem core bit for GPU clocks 2022-11-10 18:15:35 +01:00
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine: at_hdmac: Check return code of dma_async_device_register 2022-11-16 09:58:30 +01:00
dma-buf
edac
eisa
extcon
firewire
firmware firmware: arm_scmi: Cleanup the core driver removal callback 2022-11-26 09:24:31 +01:00
fpga
fsi
gnss
gpio
gpu drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid 2022-11-26 09:24:32 +01:00
greybus
hid HID: hyperv: fix possible memory leak in mousevsc_probe() 2022-11-16 09:58:15 +01:00
hsi
hv
hwmon
hwspinlock hwspinlock: qcom: correct MMIO max register for newer SoCs 2022-11-16 09:58:13 +01:00
hwtracing
i2c i2c: i801: add lis3lv02d's I2C address for Vostro 5568 2022-11-26 09:24:31 +01:00
i3c
idle
iio
infiniband RDMA/efa: Add EFA 0xefa2 PCI ID 2022-11-26 09:24:31 +01:00
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md
media media: dvb-frontends/drxk: initialize err to 0 2022-11-10 18:15:34 +01:00
memory
memstick
message
mfd mtd: spi-nor: intel-spi: Disable write protection only if asked 2022-11-26 09:24:32 +01:00
misc
mmc mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI 2022-11-16 09:58:27 +01:00
most
mtd spi: intel: Use correct mask for flash and protected regions 2022-11-26 09:24:32 +01:00
mux
net net: tun: call napi_schedule_prep() to ensure we own a napi 2022-11-16 09:58:30 +01:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc parisc: Export iosapic_serial_irq() symbol for serial port driver 2022-11-10 18:15:40 +01:00
parport
pci
pcmcia
perf
phy phy: ralink: mt7621-pci: add sentinel to quirks table 2022-11-16 09:58:17 +01:00
pinctrl
platform platform/x86: hp_wmi: Fix rfkill causing soft blocked wifi 2022-11-16 09:58:26 +01:00
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/cio: fix out-of-bounds access on cio_ignore free 2022-11-10 18:15:33 +01:00
sbus
scsi scsi: core: Restrict legal sdev_state transitions via sysfs 2022-11-10 18:15:34 +01:00
sh
siox
slimbus
soc
soundwire soundwire: qcom: check for outanding writes before doing a read 2022-11-16 09:58:14 +01:00
spi spi: stm32: Print summary 'callbacks suppressed' message 2022-11-26 09:24:33 +01:00
spmi
ssb
staging media: meson: vdec: fix possible refcount leak in vdec_probe() 2022-11-10 18:15:34 +01:00
target
tc
tee tee: Fix tee_shm_register() for kernel TEE drivers 2022-11-10 18:15:42 +01:00
thermal
thunderbolt thunderbolt: Add DP OUT resource when DP tunnel is discovered 2022-11-16 09:58:13 +01:00
tty serial: 8250_omap: remove wait loop from Errata i202 workaround 2022-11-26 09:24:34 +01:00
uio
usb
vdpa
vfio
vhost
video fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cards 2022-11-10 18:15:32 +01:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
xen
zorro
Kconfig
Makefile