diff options
| author | Zijun Hu <[email protected]> | 2024-10-20 09:33:42 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-10-29 03:37:48 +0000 |
| commit | fdce49b5da6e0fb6d077986dec3e90ef2b094b50 (patch) | |
| tree | d49d2ae0a0b5b0ad619341f69190c9a52c6b6fe9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | usb: typec: use cleanup facility for 'altmodes_node' (diff) | |
| download | kernel-fdce49b5da6e0fb6d077986dec3e90ef2b094b50.tar.gz kernel-fdce49b5da6e0fb6d077986dec3e90ef2b094b50.zip | |
usb: phy: Fix API devm_usb_put_phy() can not release the phy
For devm_usb_put_phy(), its comment says it needs to invoke usb_put_phy()
to release the phy, but it does not do that actually, so it can not fully
undo what the API devm_usb_get_phy() does, that is wrong, fixed by using
devres_release() instead of devres_destroy() within the API.
Fixes: cedf8602373a ("usb: phy: move bulk of otg/otg.c to phy/phy.c")
Cc: [email protected]
Signed-off-by: Zijun Hu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
