Skip to content
Commit 3e5ff4df authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Fix double addition of prefixes due to widget prefixing



We're not only prefixing all controls, we're also prefixing the widget
names in the runtime data. This causes us to add the prefix twice - once
when using the widget name to generate the control name and once when
adding the control.

Really we shouldn't be prefixing the widget names at all, the matching
code should be handing this as we always know which DAPM context a
widget came from and always display the widget name in terms of a DAPM
context.  However, we're quite close to the merge window and that's
relatively invasive.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Reported-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
parent 378a90f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment