]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Thu, 13 Jun 2019 11:32:08 +0000 (13:32 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Tue, 25 Jun 2019 13:47:38 +0000 (19:17 +0530)
commitaf3f82109f8fccf9d35515602cf844f6ccaf4066
tree2ef0a6d4a8b2642780fd7e94823d5a5bd1a3ecaf
parent790081d7cfd48c87a3291c073262b42654fa6303
phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay

readl_poll_timeout() calls usleep_range() to sleep between reads.
usleep_range() doesn't work efficiently for tiny values.

Raise the polling delay in qcom_qmp_phy_enable() to bring it in line
with the delay in qcom_qmp_phy_com_init().

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qmp.c