commit | 425da159707b271dc865d7e167ac104a0e60e4af | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Sat Aug 03 13:31:59 2019 +0300 |
committer | Christoph Hellwig <hch@lst.de> | Wed Sep 04 11:13:18 2019 +0200 |
tree | b4876e8475f887c32880588e20d56296923efee1 | |
parent | e29ccc188f3dae1cb66f59e10e01e0f150642a54 [diff] |
ALSA: pcm: use dma_can_mmap() to check if a device supports dma_mmap_* Replace the local hack with the dma_can_mmap helper to check if a given device supports mapping DMA allocations to userspace. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Takashi Iwai <tiwai@suse.de>