ASoC: arizona: Use component pin control functions
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 29 Nov 2016 15:44:39 +0000 (15:44 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 30 Nov 2016 17:24:11 +0000 (17:24 +0000)
commit35f4403edb21d8b162beb3ab82b2087f4063f19d
tree1c51f4957cfcbe1c349b51bb9a4b4976bce77432
parent19a113ae59c40b20fe23decaa8afef08992396ad
ASoC: arizona: Use component pin control functions

We need to modify the state of some of our own pins and are currently
not taking account that the pin name may have a name_prefix applied
to it.

Replace the snd_soc_dapm_x_pin functions with the equivalent
snd_soc_component_x_pin functions so that any name_prefix will be
handled automatically.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c
sound/soc/codecs/cs47l24.c
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c
sound/soc/codecs/wm8997.c
sound/soc/codecs/wm8998.c