]> asedeno.scripts.mit.edu Git - linux.git/commit
scsi: bfa: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:10:14 +0000 (15:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 19:27:07 +0000 (14:27 -0500)
commita69b080025ea3c7cd15cc91a9188475bce39e921
tree382802b16f5fda1d1d5092b39ab53baad92b0de4
parentb3b07762dbda4f4c96eddec3ed8f6ab7ffbf8a7a
scsi: bfa: 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 helper and
also ensure we set the coherent mask as well in the resume path.

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