linux-stable/drivers
Mathias Kresin caefa14738 phy: lantiq: rcu-usb2: wait after clock enable
commit 36acd5e24e upstream.

Commit 65dc2e7252 ("usb: dwc2: Update Core Reset programming flow.")
revealed that the phy isn't ready immediately after enabling it's
clocks. The dwc2_check_core_version() fails and the dwc2 usb driver
errors out.

Add a short delay to let the phy get up and running. There isn't any
documentation how much time is required, the value was chosen based on
tests.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: <stable@vger.kernel.org> # v5.7+
Link: https://lore.kernel.org/r/20210107224901.2102479-1-dev@kresin.me
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 11:38:24 +01:00
..
accessibility
acpi ACPI: configfs: add missing check after configfs_register_default_group() 2021-03-04 11:38:22 +01:00
amba amba: Fix resource leak for drivers without .remove 2021-03-04 11:38:02 +01:00
android
ata ata: ahci_brcm: Add back regulators management 2021-03-04 11:37:45 +01:00
atm
auxdisplay auxdisplay: ht16k33: Fix refresh rate handling 2021-03-04 11:38:00 +01:00
base regmap: sdw: use _no_pm functions in regmap_read/write 2021-03-04 11:38:15 +01:00
bcma
block
bluetooth
bus
cdrom
char hwrng: timeriomem - Fix cooldown period calculation 2021-03-04 11:37:49 +01:00
clk clk: aspeed: Fix APLL calculate formula from ast2600-A2 2021-03-04 11:38:06 +01:00
clocksource clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined 2021-03-04 11:37:57 +01:00
connector
counter
cpufreq cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known 2021-03-04 11:38:22 +01:00
cpuidle
crypto crypto: talitos - Fix ctr(aes) on SEC1 2021-03-04 11:37:45 +01:00
dax device-dax: Fix default return code of range_parse() 2021-03-04 11:38:15 +01:00
dca
devfreq
dio
dma dmaengine: idxd: set DMA channel to be private 2021-03-04 11:37:57 +01:00
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio
gpu drm/msm/dp: trigger unplug event in msm_dp_display_disable 2021-03-04 11:38:13 +01:00
greybus
hid HID: wacom: Ignore attempts to overwrite the touch_max value from HID 2021-03-04 11:38:23 +01:00
hsi HSI: Fix PM usage counter unbalance in ssi_hw_init 2021-03-04 11:37:52 +01:00
hv Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind() 2021-03-04 11:37:46 +01:00
hwmon
hwspinlock
hwtracing coresight: etm4x: Skip accessing TRCPDCR in save/restore 2021-03-04 11:38:13 +01:00
i2c i2c: exynos5: Preserve high speed master code 2021-03-04 11:38:20 +01:00
i3c
ide ide/falconide: Fix module unload 2021-03-04 11:38:21 +01:00
idle
iio
infiniband RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR() 2021-03-04 11:38:09 +01:00
input Input: i8042 - add ASUS Zenbook Flip to noselftest list 2021-03-04 11:38:23 +01:00
interconnect
iommu iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping 2021-03-04 11:38:03 +01:00
ipack
irqchip irqchip/imx: IMX_INTMUX should not default to y, unconditionally 2021-03-04 11:37:51 +01:00
isdn
leds
lightnvm
macintosh macintosh/adb-iop: Use big-endian autopoll mask 2021-03-04 11:37:42 +01:00
mailbox mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL 2021-03-04 11:38:15 +01:00
mcb
md
media media: mceusb: Fix potential out-of-bounds shift 2021-03-04 11:38:23 +01:00
memory
memstick
message
mfd mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq() 2021-03-04 11:38:04 +01:00
misc misc: fastrpc: fix incorrect usage of dma_map_sgtable 2021-03-04 11:38:14 +01:00
mmc mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes 2021-03-04 11:38:02 +01:00
most
mtd mtd: parsers: afs: Fix freeing the part name memory in failure 2021-03-04 11:37:45 +01:00
mux
net r8169: fix jumbo packet handling on RTL8168e 2021-03-04 11:38:19 +01:00
nfc
ntb
nubus
nvdimm
nvme nvmet: set status to 0 in case for invalid nsid 2021-03-04 11:37:50 +01:00
nvmem nvmem: core: skip child nodes not matching binding 2021-03-04 11:38:14 +01:00
of of/fdt: Make sure no-map does not remove already reserved regions 2021-03-04 11:37:56 +01:00
opp
oprofile
parisc
parport
pci PCI: rockchip: Make 'ep-gpios' DT property optional 2021-03-04 11:38:18 +01:00
pcmcia
perf perf/arm-cmn: Move IRQs when migrating context 2021-03-04 11:37:44 +01:00
phy phy: lantiq: rcu-usb2: wait after clock enable 2021-03-04 11:38:24 +01:00
pinctrl
platform platform/chrome: cros_ec_proto: Add LID and BATTERY to default mask 2021-03-04 11:37:58 +01:00
pnp
power power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable 2021-03-04 11:37:59 +01:00
powercap
pps
ps3
ptp
pwm pwm: iqs620a: Fix overflow and optimize calculations 2021-03-04 11:38:17 +01:00
rapidio
ras
regulator regulator: bd718x7, bd71828, Fix dvs voltage levels 2021-03-04 11:38:07 +01:00
remoteproc remoteproc/mediatek: acknowledge watchdog IRQ after handled 2021-03-04 11:38:14 +01:00
reset
rpmsg
rtc rtc: zynqmp: depend on HAS_IOMEM 2021-03-04 11:38:03 +01:00
s390 s390/zcrypt: return EIO when msg retry limit reached 2021-03-04 11:37:48 +01:00
sbus
scsi scsi: sd: Fix Opal support 2021-03-04 11:38:22 +01:00
sfi
sh
siox
slimbus
soc
soundwire soundwire: intel: fix possible crash when no device is detected 2021-03-04 11:38:22 +01:00
spi spi: Skip zero-length transfers in spi_transfer_one_message() 2021-03-04 11:38:07 +01:00
spmi
ssb
staging media: atomisp: Fix a buffer overflow in debug code 2021-03-04 11:37:43 +01:00
target
tc
tee
thermal
thunderbolt
tty
uio
usb USB: serial: mos7720: fix error code in mos7720_write() 2021-03-04 11:38:24 +01:00
vdpa
vfio vfio/type1: Use follow_pte() 2021-03-04 11:38:17 +01:00
vhost
video
virt
virtio
visorbus
vlynq
vme
w1
watchdog watchdog: intel-mid_wdt: Postpone IRQ handler registration till SCU is ready 2021-03-04 11:38:00 +01:00
xen
zorro
Kconfig
Makefile