Commit 7702c7f
scsi: ufs: core: Call ufshcd_add_scsi_host() later
Call ufshcd_add_scsi_host() after host controller initialization has
completed. This is safe because no code between the old and new
ufshcd_add_scsi_host() call site depends on the scsi_add_host() call.
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-4-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 3192d28 commit 7702c7f
1 file changed
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10528 | 10528 | | |
10529 | 10529 | | |
10530 | 10530 | | |
10531 | | - | |
10532 | | - | |
10533 | | - | |
10534 | | - | |
10535 | 10531 | | |
10536 | 10532 | | |
10537 | 10533 | | |
| |||
10543 | 10539 | | |
10544 | 10540 | | |
10545 | 10541 | | |
10546 | | - | |
| 10542 | + | |
10547 | 10543 | | |
10548 | 10544 | | |
10549 | 10545 | | |
| |||
10578 | 10574 | | |
10579 | 10575 | | |
10580 | 10576 | | |
| 10577 | + | |
| 10578 | + | |
| 10579 | + | |
| 10580 | + | |
10581 | 10581 | | |
10582 | 10582 | | |
10583 | 10583 | | |
10584 | 10584 | | |
10585 | 10585 | | |
10586 | 10586 | | |
10587 | 10587 | | |
10588 | | - | |
10589 | | - | |
10590 | | - | |
10591 | | - | |
10592 | | - | |
10593 | | - | |
10594 | 10588 | | |
10595 | 10589 | | |
10596 | 10590 | | |
| |||
0 commit comments