]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4ca8701ee3106943c84d011c86a7ae41aff72e17
tree61c53be504bd194e62b308b8d5fc93f295727bab
parent17212e7188783de75d2a1226c32d3fd7af96ad5d
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