aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorOleksij Rempel <[email protected]>2024-11-16 14:05:58 +0100
committerJakub Kicinski <[email protected]>2024-11-24 16:28:57 -0800
commitae7370e61c5d8f5bcefc2d4fca724bd4e9bbf789 (patch)
tree850aa4a797b7c1c48589d049b78fe1e43eab0f4b /drivers/fpga/fpga-mgr.c
parent03819abbeb11117dcbba40bfe322b88c0c88a6b6 (diff)
net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
Add calls to `phy_device_free` after `fixed_phy_unregister` to fix a memory leak that occurs when the device is unplugged. This ensures proper cleanup of pseudo fixed-link PHYs. Fixes: 89b36fb5e532 ("lan78xx: Lan7801 Support for Fixed PHY") Cc: Raghuram Chary J <[email protected]> Signed-off-by: Oleksij Rempel <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions