Re: [PATCH v2 1/1] ufs: mcq: fix incorrectly set queue depth

From: Bart Van Assche
Date: Thu Feb 16 2023 - 12:46:39 EST


On 2/16/23 09:13, Asutosh Das wrote:
ufshcd_config_mcq() may change the can_queue value.
The current code invokes scsi_add_host() before ufshcd_config_mcq().
So the tags are limited to the old can_queue value.

Fix this by invoking scsi_add_host() after ufshcd_config_mcq().

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>