mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-23 21:11:51 -05:00
net: phy: Grammar update for comment in genphy_update_link
Enhance the grammar of the comment in genphy_update_link() describing momentary link drop handling. Found by inspection. Signed-off-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260121-phy-gra-v1-1-8b4d178939de@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
d07d7c3dd9
commit
0b87bbf65d
@@ -2472,7 +2472,7 @@ int genphy_update_link(struct phy_device *phydev)
|
||||
/* The link state is latched low so that momentary link
|
||||
* drops can be detected. Do not double-read the status
|
||||
* in polling mode to detect such short link drops except
|
||||
* the link was already down.
|
||||
* if the link was already down.
|
||||
*/
|
||||
if (!phy_polling_mode(phydev) || !phydev->link) {
|
||||
status = phy_read(phydev, MII_BMSR);
|
||||
|
||||
Reference in New Issue
Block a user