summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-24 12:24:01 +0200
committerMark Brown <broonie@linaro.org>2013-10-24 12:24:01 +0200
commitd1c59c87128722d159db1d83bd2b8f2d8a89915f (patch)
treeff329b308fd01a67296beab8f8de6205caacd5a3 /include/sound
parentMerge remote-tracking branch 'asoc/topic/atmel' into asoc-next (diff)
parentASoC: core: Add API for configuration of DAI BCLK ratio (diff)
downloadlinux-d1c59c87128722d159db1d83bd2b8f2d8a89915f.tar.xz
linux-d1c59c87128722d159db1d83bd2b8f2d8a89915f.zip
Merge remote-tracking branch 'asoc/topic/bclk' into asoc-next
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dai.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-dai.h b/include/sound/soc-dai.h
index ae9a227d35d3..d8acf0ca77be 100644
--- a/include/sound/soc-dai.h
+++ b/include/sound/soc-dai.h
@@ -105,6 +105,8 @@ int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai,
int snd_soc_dai_set_pll(struct snd_soc_dai *dai,
int pll_id, int source, unsigned int freq_in, unsigned int freq_out);
+int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio);
+
/* Digital Audio interface formatting */
int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt);
@@ -131,6 +133,7 @@ struct snd_soc_dai_ops {
int (*set_pll)(struct snd_soc_dai *dai, int pll_id, int source,
unsigned int freq_in, unsigned int freq_out);
int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div);
+ int (*set_bclk_ratio)(struct snd_soc_dai *dai, unsigned int ratio);
/*
* DAI format configuration