Commit 0936001
scsi: ufs: core: Convert a comment into an explicit check
The comment /* UFSHCD_QUIRK_REINIT_AFTER_MAX_GEAR_SWITCH is set */ is
only correct if ufshcd_device_init() is only called by
ufshcd_probe_hba(). Convert the comment into an explicit check. This
patch prepares for moving the ufshcd_device_init() calls.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241016201249.2256266-6-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 18ec23b commit 0936001
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8805 | 8805 | | |
8806 | 8806 | | |
8807 | 8807 | | |
8808 | | - | |
8809 | | - | |
| 8808 | + | |
| 8809 | + | |
| 8810 | + | |
8810 | 8811 | | |
8811 | 8812 | | |
8812 | 8813 | | |
| |||
0 commit comments