ALSA: core: use precomputed table to check userspace control params
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 10 Mar 2015 13:13:30 +0000 (22:13 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 10 Mar 2015 14:27:57 +0000 (15:27 +0100)
commit4ed56666b7fc98c750a23b5263350b75e742b534
tree5a27265dd0f8484452eb262ec86580c6277389a5
parentce991981311e0ae258982b600564226ad6cb24ea
ALSA: core: use precomputed table to check userspace control params

The parameters can be decided in compile time.

This commit adds precomputed table to reduce calculating time.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c