diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2025-02-14 14:43:44 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-07 18:25:26 +0100 |
| commit | 659bfea5914a9d0a7a102198ee5b3f505345076e (patch) | |
| tree | 5bb76bce61a134e36ca41b7ad68d19346bcd28d3 /scripts/git.orderFile | |
| parent | 917aa50b75099c883727dc55d154d961a1250639 (diff) | |
| download | linux-659bfea5914a9d0a7a102198ee5b3f505345076e.tar.gz linux-659bfea5914a9d0a7a102198ee5b3f505345076e.tar.bz2 linux-659bfea5914a9d0a7a102198ee5b3f505345076e.zip | |
scsi: ufs: core: Fix ufshcd_is_ufs_dev_busy() and ufshcd_eh_timed_out()
[ Upstream commit 4fa382be430421e1445f9c95c4dc9b7e0949ae8a ]
ufshcd_is_ufs_dev_busy(), ufshcd_print_host_state() and
ufshcd_eh_timed_out() are used in both modes (legacy mode and MCQ mode).
hba->outstanding_reqs only represents the outstanding requests in legacy
mode. Hence, change hba->outstanding_reqs into scsi_host_busy(hba->host) in
these functions.
Fixes: eacb139b77ff ("scsi: ufs: core: mcq: Enable multi-circular queue")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20250214224352.3025151-1-bvanassche@acm.org
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
