summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@slimlogic.co.uk>2010-08-06 20:49:16 +0100
committerSebastien Jan <s-jan@ti.com>2010-09-28 14:56:52 +0200
commit7f85198a9f7bf97bf4fb8a54af867b78a80d7f46 (patch)
tree64031ef0a65db75b01f24ed2de0d4c008c7eda1e /include
parent56abe4db1be5a9108154cfd78cff9b0f3ddc03b2 (diff)
ASoC: core - add API call to get RTD data
This is required for some backends DSPs components to manage thier routing so that the correct backends may be started() when a corresponding frontend is opened. Signed-off-by: Margarita Olaya Cabrera <magi.olaya@ti.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 616aaefbe58f..be711ca2c05f 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -281,6 +281,8 @@ int snd_soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd);
snd_pcm_uframes_t snd_soc_pcm_pointer(struct snd_pcm_substream *substream);
struct snd_pcm_substream *snd_soc_get_dai_substream(struct snd_soc_card *card,
const char *dai_link, int stream);
+struct snd_soc_pcm_runtime *snd_soc_get_pcm_runtime(struct snd_soc_card *card,
+ const char *dai_link);
/* Utility functions to get clock rates from various things */
int snd_soc_calc_frame_size(int sample_size, int channels, int tdm_slots);