kernel_optimize_test/drivers/phy/samsung
Krzysztof Kozlowski 93cc8f184e phy: samsung: exynos5250-sata: fix missing device put in probe error paths
[ Upstream commit 5c8402c4db45dd55c2c93c8d730f5dfa7c78a702 ]

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: bcff4cba41 ("PHY: Exynos: Add Exynos5250 SATA PHY driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Link: https://lore.kernel.org/r/20220407091857.230386-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-09 09:05:01 +02:00
..
Kconfig phy: samsung-ufs: add UFS PHY driver for samsung SoC 2020-07-17 13:35:30 +05:30
Makefile phy: samsung-ufs: add UFS PHY driver for samsung SoC 2020-07-17 13:35:30 +05:30
phy-exynos-dp-video.c phy: exynos: Rename Exynos to lowercase 2020-06-24 22:44:19 +05:30
phy-exynos-mipi-video.c phy: exynos: Rename Exynos to lowercase 2020-06-24 22:44:19 +05:30
phy-exynos-pcie.c phy: exynos: Rename Exynos to lowercase 2020-06-24 22:44:19 +05:30
phy-exynos4x12-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-exynos5-usbdrd.c phy: samsung: Use readl_poll_timeout function 2020-08-23 19:36:37 +05:30
phy-exynos7-ufs.h phy: samsung-ufs: add UFS PHY driver for samsung SoC 2020-07-17 13:35:30 +05:30
phy-exynos4210-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-exynos5250-sata.c phy: samsung: exynos5250-sata: fix missing device put in probe error paths 2022-05-09 09:05:01 +02:00
phy-exynos5250-usb2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-s5pv210-usb2.c phy: samsung: s5pv210-usb2: Add delay after reset 2020-05-13 08:27:35 +05:30
phy-samsung-ufs.c phy: samsung-ufs: Constify samsung_ufs_phy_ops 2020-08-31 14:36:37 +05:30
phy-samsung-ufs.h phy: samsung-ufs: add UFS PHY driver for samsung SoC 2020-07-17 13:35:30 +05:30
phy-samsung-usb2.c phy: exynos: Rename Exynos to lowercase 2020-06-24 22:44:19 +05:30
phy-samsung-usb2.h phy: samsung: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00