diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2025-03-12 23:30:09 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-20 10:45:08 +0300 |
commit | 1a0df6c96ce52b3c9fa01b312be3f5ac5162c48b (patch) | |
tree | 2cd8e6882904a04eee0645620484e971ff9c253a /scripts/sorttable.c | |
parent | fe4bf60ffdff689d825a0f613636946124c9b5fe (diff) | |
download | linux-1a0df6c96ce52b3c9fa01b312be3f5ac5162c48b.tar.xz |
net: phy: marvell: Align set_loopback() implementation
Use genphy_loopback() to disable loopback like ksz9031_set_loopback().
This way disable loopback is implemented only once within
genphy_loopback() and the set_loopback() implementations look similar.
Also fix comment about msleep() in the out-of loopback case which is not
executed in the out-of loopback case.
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250312203010.47429-5-gerhard@engleder-embedded.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/sorttable.c')
0 files changed, 0 insertions, 0 deletions