diff options
author | Asutosh Das <quic_asutoshd@quicinc.com> | 2023-02-16 18:13:46 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-02-22 00:20:35 +0100 |
commit | 2076f57f2ca0a2034afac7832257b2bc509c1a87 (patch) | |
tree | 891b35fabd3336dcaa7def6c84e618f0c67ff421 /scripts/markup_oops.pl | |
parent | scsi: ufs: ufs-mediatek: Guard power management functions with CONFIG_PM (diff) | |
download | linux-2076f57f2ca0a2034afac7832257b2bc509c1a87.tar.xz linux-2076f57f2ca0a2034afac7832257b2bc509c1a87.zip |
scsi: ufs: mcq: Fix incorrectly set queue depth
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 original can_queue value.
Fix this by invoking scsi_add_host() after ufshcd_config_mcq().
Link: https://lore.kernel.org/r/8840cea4a57b46dabce18acc39afc50ab826330f.1676567593.git.quic_asutoshd@quicinc.com
Fixes: 2468da61ea09 ("scsi: ufs: core: mcq: Configure operation and runtime interface")
Signed-off-by: Asutosh Das <quic_asutoshd@quicinc.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/markup_oops.pl')
0 files changed, 0 insertions, 0 deletions