[RESEND PATCH 2/2] phy: samsung: exynos5250-sata: fix missing device put in probe error paths
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Apr 7 02:19:46 PDT 2022
On 07/04/2022 11:18, Krzysztof Kozlowski wrote:
> The actions of of_find_i2c_device_by_node() in probe function should be
> reversed in error paths by putting the reference to obtained device.
>
> Fixes: bcff4cba41bc ("PHY: Exynos: Add Exynos5250 SATA PHY driver")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
> drivers/phy/samsung/phy-exynos5250-sata.c | 20 ++++++++++++++------
> 1 file changed, 14 insertions(+), 6 deletions(-)
I forgot:
Reviewed-by: Alim Akhtar <alim.akhtar at samsung.com>
https://lore.kernel.org/all/018501d834eb$01e62ad0$05b28070$@samsung.com/
Best regards,
Krzysztof
More information about the linux-phy
mailing list