Commit 77c166b2 authored by Bart Van Assche's avatar Bart Van Assche Committed by Todd Kjos
Browse files

FROMLIST: scsi: ufs: Limit the queue depth to host->can_queue

Before reducing 'can_queue' from 32 to 31, make
ufshcd_change_queue_depth() restrict the queue depth to 'can_queue'
instead of hba->nutrs (32). This patch includes a subset of the changes
of the patch referred to in the Link: field.

Bug: 204762899
Link: https://lore.kernel.org/linux-scsi/20211103000529.1549411-3-bvanassche@acm.org/


Change-Id: I6e694a9698f91293fc2987217e3f939726c397dd
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
parent 8d355760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment