diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2017-06-09 06:37:00 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-08 23:40:29 +0200 |
commit | 3432fa040211660989844209b67b414185003004 (patch) | |
tree | fd52f3b105c5bcf25cbfb037e470799b871a32e5 /drivers/nfc/mei_phy.c | |
parent | 561e1cadb4dca3783de82cfa453a142129953e4d (diff) |
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 'drivers/nfc/mei_phy.c')
0 files changed, 0 insertions, 0 deletions