summaryrefslogtreecommitdiffstats
path: root/include/sound/pcm.h
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-01-16 13:42:57 +0100
committerMark Brown <broonie@linaro.org>2014-01-16 13:42:57 +0100
commit2f43a23ab9ea1865a663e100b0af20198decb4f1 (patch)
tree7501fb678115cbbdb544c43dc7b59f95408f1f52 /include/sound/pcm.h
parentMerge remote-tracking branch 'asoc/topic/dma' into for-tiwai (diff)
parentASoC: pcm: Use snd_pcm_rate_mask_intersect() helper (diff)
downloadlinux-2f43a23ab9ea1865a663e100b0af20198decb4f1.tar.xz
linux-2f43a23ab9ea1865a663e100b0af20198decb4f1.zip
Merge remote-tracking branch 'asoc/topic/pcm' into for-tiwai
Diffstat (limited to 'include/sound/pcm.h')
-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 fe6ca400b9ad..4883499ab38b 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -900,6 +900,8 @@ extern const struct snd_pcm_hw_constraint_list snd_pcm_known_rates;
int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime);
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);
static inline void snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream,
struct snd_dma_buffer *bufp)