commit | 46eb93a3432c5611f141fcf623a3e0d916877c0d | [log] [tgz] |
---|---|---|
author | Robert Hancock <robert.hancock@calian.com> | Fri Jun 13 15:09:18 2025 -0600 |
committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | Wed Jul 23 07:32:04 2025 +0000 |
tree | 2d786aa88c1b6c8e4d94f00e4b5f67210666ed79 | |
parent | 504cbe8136961e4f06366afc39381749f42e6f05 [diff] |
drivers: ethernet: phy: vsc8541: Add timeout on SW reset The driver previously could enter an infinite loop if the PHY software reset failed to complete, which could happen due to hardware reset issues or MDIO bus problems. Add a timeout of 1000 iterations so we report an error in this scenario rather than causing a lockup. Signed-off-by: Robert Hancock <robert.hancock@calian.com> (cherry picked from commit aab1f68d08886cd27a034e2ccef55345dfc623d2)