UPSTREAM: 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(). Bug: 254441685 Link: https://lore.kernel.org/r/8840cea4a57b46dabce18acc39afc50ab826330f.1676567593.git.quic_asutoshd@quicinc.com Fixes: 2468da61 ("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> (cherry picked from commit 2076f57f) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I1bf99387e7d52f7739a64175ff48d30ac61ed39c
Loading
Please sign in to comment