mirror-linux/drivers/phy/samsung
André Draszik 5e428e45bf phy: exynos5-usbdrd: fix clock prepare imbalance
Commit f4fb9c4d7f ("phy: exynos5-usbdrd: allow DWC3 runtime suspend
with UDC bound (E850+)") incorrectly added clk_bulk_disable() as the
inverse of clk_bulk_prepare_enable() while it should have of course
used clk_bulk_disable_unprepare(). This means incorrect reference
counts to the CMU driver remain.

Update the code accordingly.

Fixes: f4fb9c4d7f ("phy: exynos5-usbdrd: allow DWC3 runtime suspend with UDC bound (E850+)")
CC: stable@vger.kernel.org
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Reviewed-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://patch.msgid.link/20251006-gs101-usb-phy-clk-imbalance-v1-1-205b206126cf@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-11-20 22:10:17 +05:30
..
Kconfig phy: samsung: Do not enable PHY_EXYNOS5_USBDRD by default during compile testing 2025-04-11 12:48:34 +05:30
Makefile phy: samsung-ufs: support ExynosAutov920 ufs phy driver 2025-02-13 23:33:40 +05:30
phy-exynos-dp-video.c phy: Explicitly include correct DT includes 2023-07-17 11:52:56 +05:30
phy-exynos-mipi-video.c phy: exynos-mipi-video: correct cam0 sysreg property name for exynos7870 2025-07-22 18:44:51 +05:30
phy-exynos-pcie.c phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks 2022-08-01 15:25:12 -05:00
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: exynos5-usbdrd: fix clock prepare imbalance 2025-11-20 22:10:17 +05:30
phy-exynos7-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +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-04-11 22:47:42 +05:30
phy-exynos5250-usb2.c phy: Fix the cacography in phy-exynos5250-usb2.c 2024-07-02 18:41:23 +05:30
phy-exynosautov9-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +05:30
phy-exynosautov920-ufs.c phy: samsung-ufs: support ExynosAutov920 ufs phy driver 2025-02-13 23:33:40 +05:30
phy-fsd-ufs.c phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery 2024-04-06 14:27:17 +05:30
phy-gs101-ufs.c phy: samsung: gs101-ufs: Add .notify_phystate() & hibern8 enter/exit values 2025-11-18 22:26:02 +05:30
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: gs101-ufs: Add .notify_phystate() & hibern8 enter/exit values 2025-11-18 22:26:02 +05:30
phy-samsung-ufs.h phy: samsung: gs101-ufs: Add .notify_phystate() & hibern8 enter/exit values 2025-11-18 22:26:02 +05:30
phy-samsung-usb2.c phy: samsung: usb2: drop unused module alias 2025-08-13 12:19:25 +05:30
phy-samsung-usb2.h phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY 2020-11-30 16:20:59 +05:30