]> git.baikalelectronics.ru Git - kernel.git/commit
skd: switch to the generic DMA API
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:15:11 +0000 (15:15 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 18 Oct 2018 21:14:42 +0000 (15:14 -0600)
commitb6308595815727f742b9dda2f5b979c7127eb2c0
tree3e0826bbc1d17e841bff58d534a038799865a03b
parentb00f3a614db313d4f9ae57e226dcd24abbfbf9f2
skd: switch to the generic DMA API

The PCI DMA API is deprecated, switch to the generic DMA API instead.
Also make use of the dma_set_mask_and_coherent helper to easily set
the streaming an coherent DMA masks together.

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