Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 3bcd2117 authored by Peter Rosin's avatar Peter Rosin Committed by Robert Nelson
Browse files

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: default avatarPeter Rosin <peda@axentia.se>
Reviewed-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3343e2a6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment