]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: stex: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:23 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:08 +0000 (14:27 -0500)
commit87eaf82aca701f33c023bfa0e5c15d912305bef1
treeceef1cfbe080f806faf99eda4b53044afa90f80e
parent73d102b2f06b4f8e89260786a88feb7037211f1c
scsi: stex: use dma_set_mask_and_coherent

The driver currently uses pci_set_dma_mask despite otherwise using the
generic DMA API.  Switch it over to the better generic DMA API.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/stex.c