mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-08 23:04:35 +08:00
c5d66587b8
The intention is for the loop to timeout if the body does not succeed.
The current logic calls time_is_before_jiffies(timeout) which is false
until after the timeout, so the loop body never executes.
Fix by using readl_poll_timeout as a more standard and less error-prone
solution.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mtk_eth_path.c | ||
mtk_eth_soc.c | ||
mtk_eth_soc.h | ||
mtk_ppe_debugfs.c | ||
mtk_ppe_offload.c | ||
mtk_ppe_regs.h | ||
mtk_ppe.c | ||
mtk_ppe.h | ||
mtk_sgmii.c | ||
mtk_star_emac.c |