]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Fix and simplify setup_xfer_req variant operation
authorStanley Chu <stanley.chu@mediatek.com>
Mon, 6 Jul 2020 06:07:07 +0000 (14:07 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 14 Jul 2020 02:51:56 +0000 (22:51 -0400)
commit6edfdcfe285e499994b94a0f93e1f46ab2398162
tree9a3fa35af5a37b48d83116dcabd7b6e83f92dfd1
parenta3170376f7db3429fbee655d23cdca29ac447405
scsi: ufs: Fix and simplify setup_xfer_req variant operation

Add missing setup_xfer_req() call in ufshcd_issue_devman_upiu_cmd() in
ufs-bsg path. Relocate existing setup_xfer_req() calls to a common place,
i.e., ufshcd_send_command(), to simplify the driver.

Link: https://lore.kernel.org/r/20200706060707.32608-3-stanley.chu@mediatek.com
Acked-by: Avri Altman <Avri.Altman@wdc.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c