mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
scsi: ufs: core: Fix stale comment in ufshcd_mcq_config_nr_queues()
The comment refers to "hba->dev_cmd_queue", but struct ufs_hba no longer has such a member (it was removed when the dedicated hwq for device commands was dropped). Reword it to describe the actual requirement: the queue is a host controller capability and it serves both non-polled SCSI commands and UFS device management commands. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Reviewed-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Link: https://patch.msgid.link/1792370062-23050-1-git-send-email-shawn.lin@rock-chips.com Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
This commit is contained in:
parent
cd02f87668
commit
a7ac98eb6c
|
|
@ -183,8 +183,8 @@ static int ufshcd_mcq_config_nr_queues(struct ufs_hba *hba)
|
|||
}
|
||||
|
||||
/*
|
||||
* Device should support at least one I/O queue to handle device
|
||||
* commands via hba->dev_cmd_queue.
|
||||
* At least one non-poll (HCTX_TYPE_DEFAULT) queue is required for
|
||||
* non-polled SCSI commands and UFS device management commands.
|
||||
*/
|
||||
if (hba_maxq == poll_queues) {
|
||||
dev_err(hba->dev, "At least one non-poll queue required\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user