|
@@ -6915,9 +6915,9 @@ ufshcd_send_request_sense(struct ufs_hba *hba, struct scsi_device *sdp)
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
- ret = scsi_execute_req_flags(sdp, cmd, DMA_FROM_DEVICE, buffer,
|
|
|
- UFSHCD_REQ_SENSE_SIZE, NULL,
|
|
|
- msecs_to_jiffies(1000), 3, NULL, 0, RQF_PM);
|
|
|
+ ret = scsi_execute(sdp, cmd, DMA_FROM_DEVICE, buffer,
|
|
|
+ UFSHCD_REQ_SENSE_SIZE, NULL, NULL,
|
|
|
+ msecs_to_jiffies(1000), 3, 0, RQF_PM, NULL);
|
|
|
if (ret)
|
|
|
pr_err("%s: failed with err %d\n", __func__, ret);
|
|
|
|
|
@@ -6982,8 +6982,8 @@ static int ufshcd_set_dev_pwr_mode(struct ufs_hba *hba,
|
|
|
* callbacks hence set the RQF_PM flag so that it doesn't resume the
|
|
|
* already suspended childs.
|
|
|
*/
|
|
|
- ret = scsi_execute_req_flags(sdp, cmd, DMA_NONE, NULL, 0, &sshdr,
|
|
|
- START_STOP_TIMEOUT, 0, NULL, 0, RQF_PM);
|
|
|
+ ret = scsi_execute(sdp, cmd, DMA_NONE, NULL, 0, NULL, &sshdr,
|
|
|
+ START_STOP_TIMEOUT, 0, 0, RQF_PM, NULL);
|
|
|
if (ret) {
|
|
|
sdev_printk(KERN_WARNING, sdp,
|
|
|
"START_STOP failed for power mode: %d, result %x\n",
|