summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorScott Peterson <speterson@nvidia.com>2013-10-16 15:16:57 -0700
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-18 05:09:28 -0700
commit3481142102a1da97a22a37b2a1cab0048d55f47f (patch)
tree61395948cdae92e62a57d8179aa74e7fbb9f9d90 /include/sound
parent28b204c8582f0dc85eaedb545fd15350f817fb88 (diff)
asoc: tegra: Enable ULP audio
Enable the ULP audio using AVP for K3.10 kernel. Bug 1389595 Bug 1388523 Change-Id: I81a4732a00891db177e1e3aed8c5be7382f55b96 Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/300176 Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com> Tested-by: Manoj Gangwal <mgangwal@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/dmaengine_pcm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/dmaengine_pcm.h b/include/sound/dmaengine_pcm.h
index f11c35cd5532..7bcbf5d0ccae 100644
--- a/include/sound/dmaengine_pcm.h
+++ b/include/sound/dmaengine_pcm.h
@@ -33,6 +33,9 @@ snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream)
return DMA_DEV_TO_MEM;
}
+void snd_dmaengine_pcm_set_data(struct snd_pcm_substream *substream, void *data);
+void *snd_dmaengine_pcm_get_data(struct snd_pcm_substream *substream);
+
int snd_hwparams_to_dma_slave_config(const struct snd_pcm_substream *substream,
const struct snd_pcm_hw_params *params, struct dma_slave_config *slave_config);
int snd_dmaengine_pcm_trigger(struct snd_pcm_substream *substream, int cmd);