Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8244fd7e authored by Takashi Iwai's avatar Takashi Iwai Committed by Mark Brown
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bd29ae96
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;