From: Mark Brown Date: Wed, 9 Mar 2011 11:33:09 +0000 (+0000) Subject: ASoC: Fix double addition of prefixes due to widget prefixing X-Git-Tag: v2.6.39-rc1~200^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e5ff4dfa5a0a5627235a245665035597f050d86;p=pandora-kernel.git 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: Mark Brown Reported-by: Jarkko Nikula Acked-by: Jarkko Nikula Acked-by: Liam Girdwood --- Reading git-diff-tree failed