Hi,
while debugging the recent GPIO regression with (still not-merged) cx2072x codec driver, I noticed the driver misses the snd_soc_jack_free_gpios() call.
This patch set is rather making it redundant, change the ASoC jack code to manage gpios via devres. It follows the cleanups of superfluous snd_soc_jack_free_gpios() in each driver. This resulted in lots of reductions of remove callbacks.
Takashi
===
Takashi Iwai (8): ASoC: jack: Manage gpios via devres ASoC: fsl: Remove superfluous snd_soc_jack_free_gpios() call ASoC: simple-card: Remove superfluous snd_soc_jack_free_gpios() call ASoC: intel: Remove superfluous snd_soc_jack_free_gpios() call ASoC: omap: Remove superfluous snd_soc_jack_free_gpios() call ASoC: pxa: Remove superfluous snd_soc_jack_free_gpios() call ASoC: samsung: Remove superfluous snd_soc_jack_free_gpios() call ASoC: tegra: Remove superfluous snd_soc_jack_free_gpios() call
sound/soc/fsl/imx-es8328.c | 3 -- sound/soc/generic/simple-card.c | 10 ------- sound/soc/intel/boards/byt-max98090.c | 12 -------- sound/soc/omap/ams-delta.c | 10 ------- sound/soc/omap/omap-twl4030.c | 13 --------- sound/soc/omap/rx51.c | 9 ------ sound/soc/pxa/hx4700.c | 8 ------ sound/soc/samsung/h1940_uda1380.c | 9 ------ sound/soc/samsung/rx1950_uda1380.c | 10 ------- sound/soc/samsung/smartq_wm8987.c | 9 ------ sound/soc/soc-jack.c | 52 +++++++++++++++++++++++++++-------- sound/soc/tegra/tegra_alc5632.c | 13 --------- sound/soc/tegra/tegra_max98090.c | 18 ------------ sound/soc/tegra/tegra_rt5640.c | 13 --------- sound/soc/tegra/tegra_rt5677.c | 18 ------------ sound/soc/tegra/tegra_wm8903.c | 5 ---- 16 files changed, 41 insertions(+), 171 deletions(-)