Skip to content
Snippets Groups Projects
Commit 08d95e36 authored by Bart Van Assche's avatar Bart Van Assche Committed by Bart Van Assche
Browse files

FROMLIST: scsi: ufs: Fix a race condition in the clock gating code


The hba->outstanding_reqs bitmask only has information about
outstanding requests if MCQ is disabled. Replace this expression
with scsi_host_busy(hba->host) to support both modes (MCQ
disabled and MCQ enabled).

Fixes: eacb139b ("scsi: ufs: core: mcq: Enable multi-circular queue")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/linux-scsi/20250214224352.3025151-1-bvanassche@acm.org/


Change-Id: Ie1874e3487cf17baaad84b060073c26694a592fd
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 55cef593
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment