From 3e5ff4dfa5a0a5627235a245665035597f050d86 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 9 Mar 2011 11:33:09 +0000 Subject: [PATCH] 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-format-patch failed