diff options
author | Richard Fitzgerald | 2016-11-29 15:44:41 +0000 |
---|---|---|
committer | Mark Brown | 2016-12-01 20:18:44 +0000 |
commit | efd95c71f4892ad5d0d33099db25085763f4c6c3 (patch) | |
tree | 6b87a932bbcfaa8542dc5dafe6992b0f80f1e63c /sound/soc/codecs | |
parent | 1b4d9c22191583ef1fb7433417b2ceb2a608d887 (diff) |
extcon: arizona: 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>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions