]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: ufs: core: Move the MCQ scsi_add_host() call
authorBart Van Assche <bvanassche@acm.org>
Wed, 16 Oct 2024 20:12:06 +0000 (13:12 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Oct 2024 19:30:22 +0000 (15:30 -0400)
commit72e979225ed2e9427396e317d33050bcf50ad899
tree1c042361d2246c752003beb35e40c385b65e756a
parentb6195d02b914ddfddb50e3ceb6b66928ebf0fdb8
scsi: ufs: core: Move the MCQ scsi_add_host() call

Whether or not MCQ is used, call scsi_add_host() from
ufshcd_add_scsi_host().  For MCQ this patch swaps the order of the
scsi_add_host() and UFS device initialization. This patch prepares for
combining the two scsi_add_host() calls.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-11-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c