diff options
author | Peter Rosin <peda@axentia.se> | 2015-01-28 15:16:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-28 19:27:15 +0000 |
commit | f66f898e953d56779367a6cbc39cbb4808b208c0 (patch) | |
tree | d0a7c9d3d6f9349080d5beca852723cd1574a1f6 /sound/core/timer.c | |
parent | ba5295e55dd941425b10924f4f5c7af6eac4a1cb (diff) | |
download | linux-stable-f66f898e953d56779367a6cbc39cbb4808b208c0.tar.gz linux-stable-f66f898e953d56779367a6cbc39cbb4808b208c0.tar.bz2 linux-stable-f66f898e953d56779367a6cbc39cbb4808b208c0.zip |
ALSA: pcm: Add snd_interval_ranges() and snd_pcm_hw_constraint_ranges()
Add helper functions to allow drivers to specify several disjoint
ranges for a variable. In particular, there is a codec (PCM512x) that
has a hole in its supported range of rates, due to PLL and divider
restrictions.
This is like snd_pcm_hw_constraint_list(), but for ranges instead of
points.
Signed-off-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions