]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-component: add soc_component_pin() and share code
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 4 Jun 2020 08:06:11 +0000 (17:06 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 15 Jun 2020 17:21:18 +0000 (18:21 +0100)
commit43b8d4e9740bb95be724687aa3f92b415f2d1754
tree61c53be504bd194e62b308b8d5fc93f295727bab
parent16db19e967a7a82707d387fe6f4f0dd6851ab645
ASoC: soc-component: add soc_component_pin() and share code

soc-component has too many snd_soc_component_xxx_pin_xxx() functions.
The difference between these functions are used function name and
enable/disable.
This patch adds common soc_component_pin() and share code.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87tuzrw8zw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-component.c