]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: ufs: core: Prepare to introduce a new clock_gating lock
authorAvri Altman <avri.altman@wdc.com>
Sun, 24 Nov 2024 07:08:06 +0000 (09:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:39 +0000 (14:01 +0100)
commit9ece41a0d7d39590069093f056463e7771035a66
tree8f486ffed8b8416e7aa658516f881fe4a4dcbe82
parentf7015dcac273052ebc0d9836c2d291b26c60c8cd
scsi: ufs: core: Prepare to introduce a new clock_gating lock

[ Upstream commit 7869c6521f5715688b3d1f1c897374a68544eef0 ]

Remove hba->clk_gating.active_reqs check from ufshcd_is_ufs_dev_busy()
function to separate clock gating logic from general device busy checks.

Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20241124070808.194860-3-avri.altman@wdc.com
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 839a74b5649c ("scsi: ufs: Fix toggling of clk_gating.state when clock gating is not allowed")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ufs/core/ufshcd.c