android_kernel_motorola_sm6225/sound/soc/tegra
Stephen Warren e44fbbd458 ASoC: tegra+wm8903: unconditionally free jack GPIOs in remove
The headphone jack GPIOs are added/initialized in the DAI link's init()
method, and hence in theory may not always have been added before remove()
is called in some unusual cases. In order to prevent calling
snd_soc_jack_free_gpios() if snd_soc_jack_add_gpios() had not been, the
code kept track of the initialization state to avoid the free call when
necessary.

However, it appears that snd_soc_jack_free_gpios() is robust in the face
of being called without snd_soc_jack_add_gpios() first succeeding, so
there is little point manually tracking this information. Hence, remove
the tracking code. Almost all other machine drivers already operate this
way.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-06-03 13:06:36 +01:00
..
Kconfig ASoC: tegra: Add machine driver for WM8753 codec 2012-05-19 19:38:00 +01:00
Makefile ASoC: tegra: Add machine driver for WM8753 codec 2012-05-19 19:38:00 +01:00
tegra20_das.c ASoC: convert Tegra20 DAS driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_das.h ASoC: convert Tegra20 DAS driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_i2s.c ASoC: convert Tegra20 I2S driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_i2s.h ASoC: convert Tegra20 I2S driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_spdif.c ASoC: convert Tegra20 SPDIF driver to regmap 2012-04-13 19:16:53 +01:00
tegra20_spdif.h ASoC: convert Tegra20 SPDIF driver to regmap 2012-04-13 19:16:53 +01:00
tegra30_ahub.c ASoC: tegra: add tegra30-ahub driver 2012-04-13 11:29:22 +01:00
tegra30_ahub.h ASoC: tegra: add tegra30-ahub driver 2012-04-13 11:29:22 +01:00
tegra30_i2s.c ASoC: tegra: add tegra30-i2s driver 2012-04-13 11:29:23 +01:00
tegra30_i2s.h ASoC: tegra: add tegra30-i2s driver 2012-04-13 11:29:23 +01:00
tegra_alc5632.c ASoC: tegra: remove unnecessary includes 2012-04-01 11:28:31 +01:00
tegra_asoc_utils.c ASoC: tegra: utils: Don't use of_have_populated_dt() 2012-04-10 22:33:19 +01:00
tegra_asoc_utils.h ASoC: tegra: utils: add support for Tegra30 devices 2012-04-06 18:31:05 +01:00
tegra_pcm.c ASoC: tegra: sort includes, remove mach/iomap.h 2012-04-06 18:22:06 +01:00
tegra_pcm.h ASoC: tegra: register 'platform' from DAIs, get rid of pdev 2012-04-01 11:28:28 +01:00
tegra_wm8753.c ASoC: tegra: Add machine driver for WM8753 codec 2012-05-19 19:38:00 +01:00
tegra_wm8903.c ASoC: tegra+wm8903: unconditionally free jack GPIOs in remove 2012-06-03 13:06:36 +01:00
trimslice.c ASoC: tegra: add device tree support for TrimSlice 2012-04-30 23:47:54 +01:00