Skip to content
Commit 36acd5e2 authored by Mathias Kresin's avatar Mathias Kresin Committed by Vinod Koul
Browse files

phy: lantiq: rcu-usb2: wait after clock enable



Commit 65dc2e72 ("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: default avatarMathias Kresin <dev@kresin.me>
Acked-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Acked-by: default avatarMartin 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: default avatarVinod Koul <vkoul@kernel.org>
parent c1883654
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment