diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-12-15 14:43:49 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-15 16:38:04 +0000 |
commit | 98cf9965c09fc3fe6d8bd9760dba1dec53e387cc (patch) | |
tree | cd8a9fe982f37042cfe2d13363bfa0f74bdbd164 /drivers/regulator/arizona-ldo1.c | |
parent | d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff) | |
download | lwn-98cf9965c09fc3fe6d8bd9760dba1dec53e387cc.tar.gz lwn-98cf9965c09fc3fe6d8bd9760dba1dec53e387cc.zip |
regulator: arizona-micsupp: Use SoC component pin control functions
The name of a codec pin can have an optional prefix string, which is
defined by the SoC machine driver. The snd_soc_dapm_x_pin functions
take the fully-specified name including the prefix and so the existing
code would fail to find the pin if the audio machine driver had added
a prefix.
Switch to using the snd_soc_component_x_pin equivalent functions that
take a specified SoC component and automatically add the name prefix to
the provided pin name.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/arizona-ldo1.c')
0 files changed, 0 insertions, 0 deletions