[alsa-devel] [PATCH 1/3] topology: Remove support for control flag SNDRV_CTL_ELEM_ACCESS_USER

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Tue Jul 19 10:51:57 CEST 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

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 still be created by ASoC in kernel, so topology should not support
this flag.

Signed-off-by: Mengdong Lin <mengdong.lin at linux.intel.com>

diff --git a/src/topology/ctl.c b/src/topology/ctl.c
index 592dded..54f8e44 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 */
-- 
2.5.0



More information about the Alsa-devel mailing list