]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: hisi_sas: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:17 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:08 +0000 (14:27 -0500)
commit98f6a2714c154609c14b47c38c1a3d0c9629b0d1
treeb6c882c6241bbbca6f5d4d09de3ada3c5cff43d3
parentebcf628ffb7f2a7f8cc86f0d8a5aa00bafffae3c
scsi: hisi_sas: 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>
Acked-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c