summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-22 13:59:45 +0200
committerMark Brown <broonie@kernel.org>2017-08-22 13:38:39 +0100
commit8244fd7e489a586e63a36302105a2a1ece28a3c6 (patch)
treeae347369d80f72ee4a7844b813333103b6837c9b /sound/soc/fsl
parentbd29ae969042c87413157c02d4f2a787d0212da3 (diff)
downloadlinux-stable-8244fd7e489a586e63a36302105a2a1ece28a3c6.tar.gz
linux-stable-8244fd7e489a586e63a36302105a2a1ece28a3c6.tar.bz2
linux-stable-8244fd7e489a586e63a36302105a2a1ece28a3c6.zip
ASoC: fsl: Remove superfluous snd_soc_jack_free_gpios() call
Since jack gpios are managed via devres, we don't have to call snd_jack_free_gpios() at release any longer. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/imx-es8328.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/fsl/imx-es8328.c b/sound/soc/fsl/imx-es8328.c
index 20e7400e2611..9953438086e4 100644
--- a/sound/soc/fsl/imx-es8328.c
+++ b/sound/soc/fsl/imx-es8328.c
@@ -203,9 +203,6 @@ static int imx_es8328_remove(struct platform_device *pdev)
{
struct imx_es8328_data *data = platform_get_drvdata(pdev);
- snd_soc_jack_free_gpios(&headset_jack, ARRAY_SIZE(headset_jack_gpios),
- headset_jack_gpios);
-
snd_soc_unregister_card(&data->card);
return 0;