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)
commit3d73b200f9893d8f5ba5d105e8b69c8d16744fa2
treee49db15da4cecb56aef0987b769d1cfd945194c4
parent9821106213c826f9c3dbccb617ce76f8981c8aba
scsi: ufs: ufs-exynos: Change ufs phy control sequence

Since commit 1599069a62c6 ("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