]> git.alsa-project.org Git - alsa-lib.git/commitdiff
topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER
authorMengdong Lin <mengdong.lin@linux.intel.com>
Wed, 20 Jul 2016 01:52:52 +0000 (09:52 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Jul 2016 05:45:58 +0000 (07:45 +0200)
This access flag is used to add controls from user space by ioctl.
But topology only configures controls in user space and these controls
will eventually be created by ASoC in kernel, so topology should not
support this flag.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/ctl.c

index 592dded7aa6ae2a3a019f63c3e130a911918223b..54f8e44460f23a068ef9dfe09d3394aea220b970 100644 (file)
@@ -41,7 +41,6 @@ static const struct ctl_access_elem ctl_access[] = {
        {"lock", SNDRV_CTL_ELEM_ACCESS_LOCK},
        {"owner", SNDRV_CTL_ELEM_ACCESS_OWNER},
        {"tlv_callback", SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK},
-       {"user", SNDRV_CTL_ELEM_ACCESS_USER},
 };
 
 /* find CTL access strings and conver to values */