]> 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, 7 Mar 2025 15:45:36 +0000 (16:45 +0100)
commit3f82f8ae0d200f8d798bb9c315ccc543b8be005a
tree75d6ba1eb95925d2637004ea1c9cabbac6c4a821
parent21641160fb314a00d1e6fe6864f6f8d4d739515d
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: 4fa382be4304 ("scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/ufs/core/ufshcd.c