diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-06-09 00:36:59 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-09 00:40:27 +0300 |
commit | 561e1cadb4dca3783de82cfa453a142129953e4d (patch) | |
tree | 79650a26228d6aad7a5677aecd4f6892f79b60e8 /sound/core/memalloc.c | |
parent | 55799c5ab99e8762e58c387e39f9fa36e8f14158 (diff) | |
download | linux-561e1cadb4dca3783de82cfa453a142129953e4d.tar.xz |
ALSA: pcm: add a helper function to constrain mask-type parameters
Application of constraints to mask-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