]> git.baikalelectronics.ru Git - kernel.git/commit
sata_qstor: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Aug 2019 10:57:23 +0000 (12:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Aug 2019 19:58:58 +0000 (13:58 -0600)
commitbf116de600c036c67206f7379df6cf27c89625ee
treef8cd9ea5f80bb356600f3310a6abb5cc24f93543
parent4d547c0823075c795685729253553810053a66e5
sata_qstor: use dma_set_mask_and_coherent

Use the dma_set_mask_and_coherent helper to set the DMA mask.  Rely
on the relatively recent change that setting a larger than required
mask will never fail to avoid the need for the boilerplate 32-bit
fallback code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/sata_qstor.c