]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2019 07:01:34 +0000 (09:01 +0200)
commitb08d7b36f11d08db7cd74f74a92c44ca4beee7a7
treecc2df4c197089c8f04bf33125e45e74ac87ea6e9
parent3da810f95b860d262d038b84ac9a10b48ed13da0
phy: qcom-qmp: Raise qcom_qmp_phy_enable() polling delay

[ Upstream commit 5206026404190125436f81088eb3667076e56083 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c