diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-11-29 16:44:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-12-01 21:19:13 +0100 |
commit | 931afc4114c59b8fe8386db9fcdfe69a1322cae6 (patch) | |
tree | 403e553dd337bc57f6b5cadd795415050fbceda7 /drivers/input/misc/bfin_rotary.c | |
parent | ASoC: core: Add component pin control functions (diff) | |
download | linux-931afc4114c59b8fe8386db9fcdfe69a1322cae6.tar.xz linux-931afc4114c59b8fe8386db9fcdfe69a1322cae6.zip |
Input: arizona-haptics - 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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/input/misc/bfin_rotary.c')
0 files changed, 0 insertions, 0 deletions