diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-06-09 06:36:59 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-08 23:40:27 +0200 |
commit | 561e1cadb4dca3783de82cfa453a142129953e4d (patch) | |
tree | 79650a26228d6aad7a5677aecd4f6892f79b60e8 /sound/core/rawmidi_compat.c | |
parent | 55799c5ab99e8762e58c387e39f9fa36e8f14158 (diff) | |
download | talos-obmc-linux-561e1cadb4dca3783de82cfa453a142129953e4d.tar.gz talos-obmc-linux-561e1cadb4dca3783de82cfa453a142129953e4d.zip |
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/rawmidi_compat.c')
0 files changed, 0 insertions, 0 deletions