Thread (10 messages) 10 messages, 2 authors, 2024-10-20
STALE614d

[PATCH 0/6] phy: core: Fix bugs for several APIs and simplify an API

From: Zijun Hu <hidden>
Date: 2024-10-20 05:28:23
Also in: linux-pci, linux-phy, lkml, stable

This patch series is to fix bugs for below APIs:

devm_phy_put()
devm_of_phy_provider_unregister()
devm_phy_destroy()
phy_get()
of_phy_get()
devm_of_phy_get_by_index()

And simplify API of_phy_simple_xlate().

Signed-off-by: Zijun Hu <redacted>
---
Zijun Hu (6):
      phy: core: Fix API devm_phy_put() can not release the phy
      phy: core: Fix API devm_of_phy_provider_unregister() can not unregister the phy provider
      phy: core: Fix API devm_phy_destroy() can not destroy the phy
      phy: core: Add missing of_node_put() for an error handling path of _of_phy_get()
      phy: core: Add missing of_node_put() in of_phy_provider_lookup()
      phy: core: Simplify API of_phy_simple_xlate() implementation

 drivers/phy/phy-core.c | 39 ++++++++++++++++++---------------------
 1 file changed, 18 insertions(+), 21 deletions(-)
---
base-commit: d8f9d6d826fc15780451802796bb88ec52978f17
change-id: 20241020-phy_core_fix-e3ad65db98f7

Best regards,
-- 
Zijun Hu [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help