summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-07-20 09:52:52 +0800
committerTakashi Iwai <tiwai@suse.de>2016-07-20 07:45:58 +0200
commit8e3e194a5d7c01ee310ff3fb771ce9ec4e6d8fb1 (patch)
treed7e69e2c83dd9b4c5d45985e98102819a6402a55
parent7bebd4c980bb11cc31f8be73511baa544d4cb658 (diff)
downloadalsa-lib-8e3e194a5d7c01ee310ff3fb771ce9ec4e6d8fb1.tar.gz
topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER
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>
-rw-r--r--src/topology/ctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/topology/ctl.c b/src/topology/ctl.c
index 592dded7..54f8e444 100644
--- a/src/topology/ctl.c
+++ b/src/topology/ctl.c
@@ -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 */