linux-yocto/drivers/ufs
anvithdosapati 51ba658604 scsi: ufs: core: Fix clk scaling to be conditional in reset and restore
[ Upstream commit 2e083cd802 ]

In ufshcd_host_reset_and_restore(), scale up clocks only when clock
scaling is supported. Without this change CPU latency is voted for 0
(ufshcd_pm_qos_update) during resume unconditionally.

Signed-off-by: anvithdosapati <anvithdosapati@google.com>
Link: https://lore.kernel.org/r/20250616085734.2133581-1-anvithdosapati@google.com
Fixes: a3cd5ec55f ("scsi: ufs: add load based scaling of UFS gear")
Cc: stable@vger.kernel.org
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 16:03:14 +02:00
..
core scsi: ufs: core: Fix clk scaling to be conditional in reset and restore 2025-07-10 16:03:14 +02:00
host scsi: ufs: qcom: Prevent calling phy_exit() before phy_init() 2025-06-19 15:28:35 +02:00
Kconfig
Makefile