Applied "ASoC: dmaengine_pcm: add processing support" to the asoc tree
Subsystems (3)
Mark Brown
maintainerThe patch
ASoC: dmaengine_pcm: add processing support
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Quoted 1 line
From
78648092ef46255e6dc6685202164199c86cf930Mon Sep 17 00:00:00 2001
From: Olivier Moysan <[email protected]>
Date: Mon, 19 Feb 2018 16:00:36 +0100
Subject: [PATCH] ASoC: dmaengine_pcm: add processing support
Allow dmaengine client to optionally register a processing callback. This callback is intended to apply processing
on samples in buffer copied from/to user space, before/after DMA transfer.
--- include/sound/dmaengine_pcm.h | 3 ++ sound/soc/soc-generic-dmaengine-pcm.c | 62 +++++++++++++++++++++++++++++++++-- 2 files changed, 63 insertions(+), 2 deletions(-)
include/sound/dmaengine_pcm.h +3 -0
@@ -140,6 +140,9 @@ struct snd_dmaengine_pcm_config {struct dma_chan *(*compat_request_channel)(struct snd_soc_pcm_runtime *rtd,struct snd_pcm_substream *substream); +int (*process)(struct snd_pcm_substream *substream, +int channel,unsigned long hwoff, +void *buf,unsigned long bytes);dma_filter_fn compat_filter_fn;struct device *dma_dev;const char *chan_names[SNDRV_PCM_STREAM_LAST +1 ];
sound/soc/soc-generic-dmaengine-pcm.c +60 -2
86 lines not on this page · raw message
Signature · 1 line
2.16.1