[PATCH 0/2] ASoC: SOF: topology: simplify kcontrol names with token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The use of the widget name as a prefix for the kcontrol name is quite
useful in the case of multiple pipelines going to the same endpoint,
but it's overkill in simpler cases.

This patchset extends the existing DAPM code to drop the widget name
prefix and make the kcontrol names simpler when there's no possible
ambiguity, e.g.  "gain.2.1 Main Playback Volume" becomes just "Main
Playback Volume".

Jyri Sarha (2):
  ASoC: dapm: Add a flag for not having widget name in kcontrol name
  ASoC: SOF: topology: Add a token for dropping widget name in kcontrol
    name

 include/sound/soc-dapm.h        |  1 +
 include/uapi/sound/sof/tokens.h |  6 +++++-
 sound/soc/soc-dapm.c            |  2 ++
 sound/soc/sof/topology.c        | 22 ++++++++++++++++++++++
 4 files changed, 30 insertions(+), 1 deletion(-)

-- 
2.39.2




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux