diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2023-05-14 19:56:07 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-05-16 09:34:38 +0200 |
commit | 225c657945c4a6307741cb3cc89467eadcc26e9b (patch) | |
tree | e5b55850c1acff733353be04907b4d96d746b087 /scripts/gdb/linux/interrupts.py | |
parent | df0acdc59b094cdaef19b1c8d83c9721082bab7b (diff) |
net: bcmgenet: Restore phy_stop() depending upon suspend/close
Removing the phy_stop() from bcmgenet_netif_stop() ended up causing
warnings from the PHY library that phy_start() is called from the
RUNNING state since we are no longer stopping the PHY state machine
during bcmgenet_suspend().
Restore the call to phy_stop() but make it conditional on being called
from the close or suspend path.
Fixes: c96e731c93ff ("net: bcmgenet: connect and disconnect from the PHY state machine")
Fixes: 93e0401e0fc0 ("net: bcmgenet: Remove phy_stop() from bcmgenet_netif_stop()")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20230515025608.2587012-1-f.fainelli@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions