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>
This commit is contained in:
Mengdong Lin 2016-07-20 09:52:52 +08:00 committed by Takashi Iwai
parent 7bebd4c980
commit 8e3e194a5d

View file

@ -41,7 +41,6 @@ static const struct ctl_access_elem ctl_access[] = {
{"lock", SNDRV_CTL_ELEM_ACCESS_LOCK}, {"lock", SNDRV_CTL_ELEM_ACCESS_LOCK},
{"owner", SNDRV_CTL_ELEM_ACCESS_OWNER}, {"owner", SNDRV_CTL_ELEM_ACCESS_OWNER},
{"tlv_callback", SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK}, {"tlv_callback", SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK},
{"user", SNDRV_CTL_ELEM_ACCESS_USER},
}; };
/* find CTL access strings and conver to values */ /* find CTL access strings and conver to values */