]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tw686x: audio: Implement non-memcpy capture
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Sat, 4 Jun 2016 23:47:18 +0000 (20:47 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 28 Jun 2016 10:50:53 +0000 (07:50 -0300)
commit339409be7a0a21d7aefbd4b31221a29730d10f5f
tree994f3f8fff7b9c4f6b793328df8289561bc7c991
parentfd5f066eb7d03b1b779cc21e942fcf68fbbd86ce
[media] tw686x: audio: Implement non-memcpy capture

Now that we've introduced the dma_mode parameter to pick the
DMA operation, let's use it to also select the audio DMA
operation.

When dma_mode != memcpy, the driver will avoid using memcpy
in the audio capture path, and the DMA hardware operation
will act directly on the ALSA buffers.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/tw686x/tw686x-audio.c