summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2025-03-19 18:30:21 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-04-03 16:53:51 +0300
commit7f05fd9a3b6fb3a9abc5a748307d11831c03175f (patch)
treedc98696aca8d5104bd711451ea71763295e2298c /rust/helpers/helpers.c
parentf92bb7436802f8eb7ee72dc911a33c8897fde366 (diff)
downloadlinux-7f05fd9a3b6fb3a9abc5a748307d11831c03175f.tar.xz
scsi: ufs: exynos: Ensure consistent phy reference counts
ufshcd_link_startup() can call ufshcd_vops_link_startup_notify() multiple times when retrying. This causes the phy reference count to keep increasing and the phy to not properly re-initialize. If the phy has already been previously powered on, first issue a phy_power_off() and phy_exit(), before re-initializing and powering on again. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Link: https://lore.kernel.org/r/20250319-exynos-ufs-stability-fixes-v2-4-96722cc2ba1b@linaro.org Fixes: 3d73b200f989 ("scsi: ufs: ufs-exynos: Change ufs phy control sequence") Cc: stable@vger.kernel.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