]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-exynos: Change ufs phy control sequence
authorChanho Park <chanho61.park@samsung.com>
Wed, 6 Jul 2022 02:02:55 +0000 (11:02 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2022 02:53:05 +0000 (22:53 -0400)
commit5036a5b9e5159c7dd17b689d1497b6c0b41992ab
treee49db15da4cecb56aef0987b769d1cfd945194c4
parent464b363f590498e96e6a5e7c08409cb03fbeca59
scsi: ufs: ufs-exynos: Change ufs phy control sequence

Since commit 3d200cc55f64 ("phy: core: Warn when phy_power_on is called
before phy_init"), the following warning has been reported:

phy_power_on was called before phy_init

To address this, we need to remove phy_power_on from exynos_ufs_phy_init()
and move it after phy_init. phy_power_off and phy_exit are also necessary
in exynos_ufs_remove().

Link: https://lore.kernel.org/r/20220706020255.151177-4-chanho61.park@samsung.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-exynos.c