diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-06-09 00:37:00 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-09 00:40:29 +0300 |
commit | 3432fa040211660989844209b67b414185003004 (patch) | |
tree | fd52f3b105c5bcf25cbfb037e470799b871a32e5 /sound/core/memalloc.c | |
parent | 561e1cadb4dca3783de82cfa453a142129953e4d (diff) | |
download | linux-3432fa040211660989844209b67b414185003004.tar.xz |
ALSA: pcm: add a helper function to constrain interval-type parameters
Application of constraints to interval-type parameters for PCM substream
is done in a call of snd_pcm_hw_refine(), while the function includes
much codes and is not enough friendly to readers.
This commit splits the codes to a separated function so that readers can
get it easily. I leave desicion into compilers to merge the function into
its callee.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/memalloc.c')
0 files changed, 0 insertions, 0 deletions