Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: phy: lan87xx: Allow more time for link detect
commit 59bd0184158581304069fe4e7347dbdf31d73f47 from https://github.com/raspberrypi/linux.git rpi-5.15.y With EDPWRDOWN set in idle, it must be cleared before checking for ENERGYON going high, indicating that a link is being established. The existing code allows 640ms for ENERGYON to go high, but on Raspberry Pis that appears not to be enough, causing link detection to fail. Increase the polling timeout to 1500ms - with a polling interval of 10ms it shouldn't cause unnecessary delays. See: raspberrypi/linux#4393 Signed-off-by: Phil Elwell <phil@raspberrypi.com> Signed-off-by: Meng Li <Meng.Li@windriver.com>
- Loading branch information