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:Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/linux-scsi/20250214224352.3025151-1-bvanassche@acm.org/ Change-Id: Ie1874e3487cf17baaad84b060073c26694a592fd Signed-off-by:
Bart Van Assche <bvanassche@google.com>
Loading
Please register or sign in to comment