aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2024-11-18 14:03:51 +0000
committerJakub Kicinski <[email protected]>2024-11-25 00:50:55 +0000
commite863ff806f72098bccaf8fa89c80d9ad6187c3b0 (patch)
treeb7e67c71a0bf3f53787ef4814264678b33c42a8c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parenttg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets (diff)
downloadkernel-e863ff806f72098bccaf8fa89c80d9ad6187c3b0.tar.gz
kernel-e863ff806f72098bccaf8fa89c80d9ad6187c3b0.zip
net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
Validate Wake-on-LAN (WoL) options in `lan78xx_set_wol` before calling `usb_autopm_get_interface`. This prevents USB autopm refcounting issues and ensures the adapter can properly enter autosuspend when invalid WoL options are provided. Fixes: eb9ad088f966 ("lan78xx: Check for supported Wake-on-LAN modes") Signed-off-by: Oleksij Rempel <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions