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

Commit f5ed7709 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: Add support for multiple module unload and load"

parents 458ed9f9 1ee04296
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -7266,10 +7266,12 @@ static int msm_asoc_machine_remove(struct platform_device *pdev)
	struct msm_asoc_mach_data *pdata =
				snd_soc_card_get_drvdata(card);

	if (gpio_is_valid(pdata->us_euro_gpio))
		gpio_free(pdata->us_euro_gpio);
	i2s_auxpcm_deinit();

	snd_soc_unregister_card(card);
	audio_notifier_deregister("msm8998");
	return 0;
}