aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards/Kconfig
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-12-04 15:15:46 -0600
committerMark Brown <broonie@kernel.org>2019-12-09 18:37:20 +0000
commitb5706f8ec29fb461571d25e3e813ede121fe31cd (patch)
tree5d6e74f4a534e3141291e3c32e0b370dbc3dae80 /sound/soc/intel/boards/Kconfig
parentASoC: Intel - use control components to describe card config (diff)
downloadlinux-dev-b5706f8ec29fb461571d25e3e813ede121fe31cd.tar.xz
linux-dev-b5706f8ec29fb461571d25e3e813ede121fe31cd.zip
ASoC: Intel - do not describe I/O configuration in the long card name
The long card name might be used in GUI. This information should be hidden. Add CONFIG_SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES configuration option. Signed-off-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Cc: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20191204211556.12671-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards/Kconfig')
-rw-r--r--sound/soc/intel/boards/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/Kconfig b/sound/soc/intel/boards/Kconfig
index 575064b315ef..a8d71b5ed41e 100644
--- a/sound/soc/intel/boards/Kconfig
+++ b/sound/soc/intel/boards/Kconfig
@@ -13,6 +13,19 @@ menuconfig SND_SOC_INTEL_MACH
if SND_SOC_INTEL_MACH
+config SND_SOC_INTEL_USER_FRIENDLY_LONG_NAMES
+ bool "Use more user friendly long card names"
+ help
+ Some drivers report the I/O configuration to userspace through the
+ soundcard's long card name in the control user space AP. An unfortunate
+ side effect is that this long name may also be used by the GUI,
+ confusing users with information they don't need.
+ This option prevents the long name from being modified, and the I/O
+ configuration will be provided through a different component interface.
+ Select Y if userspace like UCM (Use Case Manager) uses the component
+ interface.
+ If unsure select N.
+
if SND_SOC_INTEL_HASWELL
config SND_SOC_INTEL_HASWELL_MACH