mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
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>
This commit is contained in:
parent
bd29ae9690
commit
8244fd7e48
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user