scsi: Add dma direction member to command structure
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 15 Oct 2019 12:54:35 +0000 (18:24 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Oct 2019 00:47:12 +0000 (20:47 -0400)
commit8fbac8e23e55a63c218b8d737e629a8d07e9a840
tree3371610ff24089a4a71eee6d5b22d78fd4cf63f8
parentd48f00ed11d04eb76d4510b3db1d7f36f758d4e9
scsi: Add dma direction member to command structure

Some SCSI devices like UFS use DMA for executing scsi commands and hence
need to know the direction of transfer of the dma. Add a dma_dir element
to the command structure to facilitate this.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
drivers/scsi/scsi.c
include/scsi.h