diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2025-03-19 15:30:23 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-04-03 09:53:51 -0400 |
commit | 67e4085015c33bf2fb552af1f171c58b81ef0616 (patch) | |
tree | a258b086cafb040ed99d3f4947af6a799e6cc2e9 /rust/helpers/helpers.c | |
parent | deac9ad496ec17e1ec06848964ecc635bdaca703 (diff) | |
download | linux-stable-67e4085015c33bf2fb552af1f171c58b81ef0616.tar.gz linux-stable-67e4085015c33bf2fb552af1f171c58b81ef0616.tar.bz2 linux-stable-67e4085015c33bf2fb552af1f171c58b81ef0616.zip |
scsi: ufs: exynos: Move phy calls to .exit() callback
ufshcd_pltfrm_remove() calls ufshcd_remove(hba) which in turn calls
ufshcd_hba_exit().
By moving the phy_power_off() and phy_exit() calls to the newly created
.exit callback they get called by ufshcd_variant_hba_exit() before
ufshcd_hba_exit() turns off the regulators. This is also similar flow to
the ufs-qcom driver.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Link: https://lore.kernel.org/r/20250319-exynos-ufs-stability-fixes-v2-6-96722cc2ba1b@linaro.org
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions