Commit 67e4085
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent deac9ad commit 67e4085
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
1525 | 1533 | | |
1526 | 1534 | | |
1527 | 1535 | | |
| |||
1977 | 1985 | | |
1978 | 1986 | | |
1979 | 1987 | | |
| 1988 | + | |
1980 | 1989 | | |
1981 | 1990 | | |
1982 | 1991 | | |
| |||
2015 | 2024 | | |
2016 | 2025 | | |
2017 | 2026 | | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
2021 | 2027 | | |
2022 | | - | |
2023 | | - | |
2024 | | - | |
2025 | 2028 | | |
2026 | 2029 | | |
2027 | 2030 | | |
| |||
0 commit comments