ASoC: fix debugfs directory creation bug
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Jun 2014 14:22:50 +0000 (15:22 +0100)
committerMark Brown <broonie@linaro.org>
Sat, 28 Jun 2014 12:45:39 +0000 (13:45 +0100)
commite73f3de5c5eb5285a1b1d8eed111eb229702b20f
tree08a88e895b6cb1b9664b71c95b712e67114a755b
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ASoC: fix debugfs directory creation bug

Avoid creating duplicate directories by prefixing codecs and platforms
with their separate identifiers.  This avoids snd-soc-dummy (which can
appear both as a dummy platform and a dummy codec on the same card)
from clashing.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c