aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-05 01:08:35 -0500
committerTakashi Iwai <tiwai@suse.de>2015-02-05 01:08:35 -0500
commita3ae255e3729c1bb4507412ea29be804f703d44c (patch)
treeedd1ca577dad5a0d701ae111519eaefa60896f98 /include/sound/pcm.h
parent3fe9cf390f6dc84f76b112b0a660967a84f9a81b (diff)
parent16ca41c6cc904d7eb9e92afc5f576e375c314f90 (diff)
Merge tag 'asoc-v3.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
ASoC: Updates for v3.20 More updates for v3.20: - Lots of refactoring from Lars-Peter Clausen, moving drivers to more data driven initialization and rationalizing a lot of DAPM usage. - Much improved handling of CDCLK clocks on Samsung I2S controllers. - Lots of driver specific cleanups and feature improvements. - CODEC support for TI PCM514x and TLV320AIC3104 devices. - Board support for Tegra systems with Realtek RT5677. Conflicts: sound/soc/intel/sst-mfld-platform-pcm.c
Diffstat (limited to 'include/sound/pcm.h')
-rw-r--r--include/sound/pcm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 44e9c2f2a094..07299b295233 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -273,6 +273,12 @@ struct snd_pcm_hw_constraint_list {
273 unsigned int mask; 273 unsigned int mask;
274}; 274};
275 275
276struct snd_pcm_hw_constraint_ranges {
277 unsigned int count;
278 const struct snd_interval *ranges;
279 unsigned int mask;
280};
281
276struct snd_pcm_hwptr_log; 282struct snd_pcm_hwptr_log;
277 283
278struct snd_pcm_runtime { 284struct snd_pcm_runtime {
@@ -907,6 +913,8 @@ void snd_interval_mulkdiv(const struct snd_interval *a, unsigned int k,
907 const struct snd_interval *b, struct snd_interval *c); 913 const struct snd_interval *b, struct snd_interval *c);
908int snd_interval_list(struct snd_interval *i, unsigned int count, 914int snd_interval_list(struct snd_interval *i, unsigned int count,
909 const unsigned int *list, unsigned int mask); 915 const unsigned int *list, unsigned int mask);
916int snd_interval_ranges(struct snd_interval *i, unsigned int count,
917 const struct snd_interval *list, unsigned int mask);
910int snd_interval_ratnum(struct snd_interval *i, 918int snd_interval_ratnum(struct snd_interval *i,
911 unsigned int rats_count, struct snd_ratnum *rats, 919 unsigned int rats_count, struct snd_ratnum *rats,
912 unsigned int *nump, unsigned int *denp); 920 unsigned int *nump, unsigned int *denp);
@@ -931,6 +939,10 @@ int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime,
931 unsigned int cond, 939 unsigned int cond,
932 snd_pcm_hw_param_t var, 940 snd_pcm_hw_param_t var,
933 const struct snd_pcm_hw_constraint_list *l); 941 const struct snd_pcm_hw_constraint_list *l);
942int snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime,
943 unsigned int cond,
944 snd_pcm_hw_param_t var,
945 const struct snd_pcm_hw_constraint_ranges *r);
934int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, 946int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime,
935 unsigned int cond, 947 unsigned int cond,
936 snd_pcm_hw_param_t var, 948 snd_pcm_hw_param_t var,