]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: mxl-gpy: Remove interrupt mask clearing from config_init
authorRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Fri, 14 Jun 2024 17:11:57 +0000 (22:41 +0530)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Fri, 2 Aug 2024 14:27:16 +0000 (16:27 +0200)
commit9360f8a8a47e4b2a8f155802e9fd92386bbbd635
tree37226c7d513193682dd71409c4ef3c8a13918673
parent7e7ff6108fd727fa1297a6981726d86909dec0f3
net: phy: mxl-gpy: Remove interrupt mask clearing from config_init

BugLink: https://bugs.launchpad.net/bugs/2075154
[ Upstream commit c44d3ffd85db03ebcc3090e55589e10d5af9f3a9 ]

When the system resumes from sleep, the phy_init_hw() function invokes
config_init(), which clears all interrupt masks and causes wake events to be
lost in subsequent wake sequences. Remove interrupt mask clearing from
config_init() and preserve relevant masks in config_intr().

Fixes: 7d901a1e878a ("net: phy: add Maxlinear GPY115/21x/24x driver")
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Manuel Diewald <manuel.diewald@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/net/phy/mxl-gpy.c