ASoC: dapm: Fix double prefix addition
authorArun Shamanna Lakshmi <aruns@nvidia.com>
Wed, 15 Jan 2014 21:03:16 +0000 (13:03 -0800)
committerMark Brown <broonie@linaro.org>
Fri, 17 Jan 2014 18:56:39 +0000 (18:56 +0000)
commitbd23c5b661858446267f4d6b2fb4edd8eb710dda
treeccbf981df05f1816b30ae2517172b9243d3ab1a3
parentf7d3c17096f6cbca8f0113d5a092ffcc72c7bf41
ASoC: dapm: Fix double prefix addition

The prefix for the codec driver can be used during dual identical
codec usecases. However, dapm adds prefix twice for codec DAI widget
in snd_soc_dapm_add_route API.

This change is to avoid double prefix addition for codec DAI widget
and is needed while using identical dual codecs.

Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c