OSDN Git Service

phy: ti: tusb1210: Add a delay between power-on and restoring the phy-parameters
authorHans de Goede <hdegoede@redhat.com>
Sun, 13 Feb 2022 13:05:23 +0000 (14:05 +0100)
committerVinod Koul <vkoul@kernel.org>
Fri, 25 Feb 2022 08:58:07 +0000 (14:28 +0530)
commitdf37c99815d9e0775e67276d70c93cbc25f31c70
treee702cef36338ebff60f10be63c8efdeb00a92511
parentcb7d21b44f250a97660b904c43440f74e318aa82
phy: ti: tusb1210: Add a delay between power-on and restoring the phy-parameters

Now that we actually log errors on ulpi_write failures it becomes clear
that the ulpi_write() restoring the phy-parameters on power-on is failing
after a suspend/resume add a short delay after driving the cs line high
to fix this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220213130524.18748-9-hdegoede@redhat.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ti/phy-tusb1210.c