NVIDIA: SAUCE: net: phy: realtek: Fix RTL8211F suspend
When integrating WoL support for the RTL8211F device, a duplicated suspend entry was added for this device. The difference between the rtl821x_suspend() and the genphy_suspend() functions is that the rtl821x_suspend() will only call genphy_suspend() and disable clocks if WoL is not enabled. Therefore, remove the duplicated suspend entry that calls genphy_suspend() to ensure the PHY is not suspend if WoL is enabled. Bug 200562291 Change-Id: I9d5be01d46ee63caba9c6817b910283bf2fac69c Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3464990 (cherry picked from commit ca29769be9997f8196e0a2209e40a134c344807a) Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3469208 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2b7ff9fb2c
commit
5337e233d5
@@ -1137,7 +1137,6 @@ static struct phy_driver realtek_drvs[] = {
|
||||
.get_wol = &rtl8211f_get_wol,
|
||||
.set_wol = &rtl8211f_set_wol,
|
||||
.suspend = rtl821x_suspend,
|
||||
.suspend = genphy_suspend,
|
||||
.resume = rtl821x_resume,
|
||||
.read_page = rtl821x_read_page,
|
||||
.write_page = rtl821x_write_page,
|
||||
|
||||
Reference in New Issue
Block a user