diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-03-12 12:34:30 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-19 20:06:32 +0300 |
commit | 5f250bd72a01fe6bd89b71393a09c0ab1d408645 (patch) | |
tree | a79ff517d18a7c6eb523c97f694a08ee9f903983 /net/core/dev_api.c | |
parent | 0c1f1eb65425451b8bcde52c055803cddecd1151 (diff) | |
download | linux-5f250bd72a01fe6bd89b71393a09c0ab1d408645.tar.xz |
net: stmmac: starfive: use PHY capability for TX clock stop
Whether the MII transmit clock can be stopped is primarily a property
of the PHY (there is a capability bit that should be checked first.)
Whether the MAC is capable of stopping the transmit clock is a separate
issue, but this is already handled by the core DesignWare MAC code.
Add the flag to allow the stmmac core to use the PHY capability.
Cc: Samin Guo <samin.guo@starfivetech.com>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tsITu-005vGF-TM@rmk-PC.armlinux.org.uk
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions