]> asedeno.scripts.mit.edu Git - linux.git/commit
pdc_adma: use dma_set_mask_and_coherent
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Aug 2019 10:57:20 +0000 (12:57 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 26 Aug 2019 19:58:58 +0000 (13:58 -0600)
commit94c58148a6bcb1f2c342fb806409d35019b4bb12
treeb3bf2d592856279731c1e9af5317418067736b97
parentb1716871c00dd48a8efa8ee93007490c939fc8c3
pdc_adma: 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/pdc_adma.c