scsi: ufs: Introduce the function ufshcd_execute_start_stop()
authorBart Van Assche <bvanassche@acm.org>
Tue, 18 Oct 2022 20:29:57 +0000 (13:29 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 22 Oct 2022 03:26:00 +0000 (03:26 +0000)
commit6a354a7e740ee779d8595bb3c555d415433f2b19
tree020eaea522017fef8f3136cb3c4979309045fca9
parent1a547cbc6fdd07992f915a614a3f7ba3fccef8fb
scsi: ufs: Introduce the function ufshcd_execute_start_stop()

Open-code scsi_execute() because a later patch will modify scmd->flags and
because scsi_execute() does not support setting scmd->flags. No
functionality is changed.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20221018202958.1902564-10-bvanassche@acm.org
Reviewed-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c