Commit ad2fef40 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

ASoc: dmaengine: evl: enable out-of-band operations


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 1bb32d39
......@@ -326,6 +326,12 @@ static int dmaengine_copy_user(struct snd_soc_component *component,
return 0;
}
static int dmaengine_prepare_oob(struct snd_soc_component *component,
struct snd_pcm_substream *substream)
{
return 0;
}
static const struct snd_soc_component_driver dmaengine_pcm_component = {
.name = SND_DMAENGINE_PCM_DRV_NAME,
.probe_order = SND_SOC_COMP_ORDER_LATE,
......@@ -335,6 +341,7 @@ static const struct snd_soc_component_driver dmaengine_pcm_component = {
.trigger = dmaengine_pcm_trigger,
.pointer = dmaengine_pcm_pointer,
.pcm_construct = dmaengine_pcm_new,
.prepare_oob = dmaengine_prepare_oob,
};
static const struct snd_soc_component_driver dmaengine_pcm_component_process = {
......@@ -347,6 +354,7 @@ static const struct snd_soc_component_driver dmaengine_pcm_component_process = {
.pointer = dmaengine_pcm_pointer,
.copy_user = dmaengine_copy_user,
.pcm_construct = dmaengine_pcm_new,
.prepare_oob = dmaengine_prepare_oob,
};
static const char * const dmaengine_pcm_dma_channel_names[] = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment