aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-03-13 15:16:21 +0700
committerMark Brown <broonie@kernel.org>2016-03-13 15:16:21 +0700
commit89595f5e29dddbf45c615c398776da9e7d3b5f4c (patch)
tree3a95f9699e5b0ead7570190a102a076d9fe47108 /include/sound
parentMerge remote-tracking branch 'asoc/topic/core' into asoc-next (diff)
parentALSA: pcm: Add snd_pcm_rate_range_to_bits() (diff)
downloadlinux-dev-89595f5e29dddbf45c615c398776da9e7d3b5f4c.tar.xz
linux-dev-89595f5e29dddbf45c615c398776da9e7d3b5f4c.zip
Merge remote-tracking branch 'asoc/topic/core-pcm' into asoc-next
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index b0be09279943..af1fb37c6b26 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -1093,6 +1093,8 @@ unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate);
unsigned int snd_pcm_rate_bit_to_rate(unsigned int rate_bit);
unsigned int snd_pcm_rate_mask_intersect(unsigned int rates_a,
unsigned int rates_b);
+unsigned int snd_pcm_rate_range_to_bits(unsigned int rate_min,
+ unsigned int rate_max);
/**
* snd_pcm_set_runtime_buffer - Set the PCM runtime buffer