]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Don't prefix autodisable widgets twice
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 3 Feb 2016 20:59:50 +0000 (21:59 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 4 Feb 2016 11:02:27 +0000 (11:02 +0000)
commitea70ef47b29361bd4ede6249a32c1045b59093a2
tree2c6b3d7f25e13d5de0fa8e1e4f239d22c9f6c750
parent5367e65a538f2d59834d845f582bc1f1ae9599b8
ASoC: dapm: Don't prefix autodisable widgets twice

When a DAPM context has a prefix the autodisable widgets get prefixed
twice, once for the control and once for the widget. To avoid this use
the un-prefixed control name to construct the autodisable widget name.

This change is purely cosmetic.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c