diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-06-08 23:37:01 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-08 23:40:30 +0200 |
commit | 9cc07f55d42be47ad2b06dae9541d9fd964c3287 (patch) | |
tree | 9e439f212d0b0a0bfcda578289dfda4c9ff48777 /security/apparmor | |
parent | ALSA: pcm: add a helper function to constrain interval-type parameters (diff) | |
download | linux-9cc07f55d42be47ad2b06dae9541d9fd964c3287.tar.xz linux-9cc07f55d42be47ad2b06dae9541d9fd964c3287.zip |
ALSA: pcm: add a helper function to apply parameter rules
Application of rules to parameters of 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 'security/apparmor')
0 files changed, 0 insertions, 0 deletions