[PATCH] phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Wed Mar 9 08:50:25 PST 2022
On 09/03/2022 13:48, Miaoqian Lin wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
>
> Fixes: bcff4cba41bc ("PHY: Exynos: Add Exynos5250 SATA PHY driver")
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
> ---
> drivers/phy/samsung/phy-exynos5250-sata.c | 1 +
> 1 file changed, 1 insertion(+)
>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>
Best regards,
Krzysztof
More information about the linux-phy
mailing list