diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/pcm.h | 2 | ||||
-rw-r--r-- | include/sound/soc.h | 4 |
2 files changed, 6 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; | |||
900 | int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime); | 900 | int snd_pcm_limit_hw_rates(struct snd_pcm_runtime *runtime); |
901 | unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate); | 901 | unsigned int snd_pcm_rate_to_rate_bit(unsigned int rate); |
902 | unsigned int snd_pcm_rate_bit_to_rate(unsigned int rate_bit); | 902 | unsigned int snd_pcm_rate_bit_to_rate(unsigned int rate_bit); |
903 | unsigned int snd_pcm_rate_mask_intersect(unsigned int rates_a, | ||
904 | unsigned int rates_b); | ||
903 | 905 | ||
904 | static inline void snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, | 906 | static inline void snd_pcm_set_runtime_buffer(struct snd_pcm_substream *substream, |
905 | struct snd_dma_buffer *bufp) | 907 | struct snd_dma_buffer *bufp) |
diff --git a/include/sound/soc.h b/include/sound/soc.h index 5a049d969c59..03ce45bf8ade 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -895,6 +895,10 @@ struct snd_soc_dai_link { | |||
895 | /* This DAI link can route to other DAI links at runtime (Frontend)*/ | 895 | /* This DAI link can route to other DAI links at runtime (Frontend)*/ |
896 | unsigned int dynamic:1; | 896 | unsigned int dynamic:1; |
897 | 897 | ||
898 | /* DPCM capture and Playback support */ | ||
899 | unsigned int dpcm_capture:1; | ||
900 | unsigned int dpcm_playback:1; | ||
901 | |||
898 | /* pmdown_time is ignored at stop */ | 902 | /* pmdown_time is ignored at stop */ |
899 | unsigned int ignore_pmdown_time:1; | 903 | unsigned int ignore_pmdown_time:1; |
900 | 904 | ||