]> git.baikalelectronics.ru Git - kernel.git/commit
phy: rockchip-emmc: Be tolerant to card clock of 0 in power on
authorDouglas Anderson <dianders@chromium.org>
Mon, 27 Jun 2016 17:39:26 +0000 (10:39 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:38:00 +0000 (10:38 +0200)
commit020e3e525b3dc417d05aaf371e225d09aaefcdc5
tree43835a03c84a798e585839b68ba67a61d18f22f2
parent660411d3f91ca4cd0c7f3b0050cbad7efefc1698
phy: rockchip-emmc: Be tolerant to card clock of 0 in power on

It's possible that there are some reasons to turn the PHY on while the
clock is 0.  In this case we just won't wait for the DLL to lock.

This is a bit of a stopgap until we figure out exactly when we're
supposed to wait for the DLL to lock and when we're supposed to power
cycle the PHY.

Note: this patch should help with suspend/resume where the system will
try to turn the PHY back on when the clock is 0.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/phy/phy-rockchip-emmc.c