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

Commit 7db1698f authored by Dmitry Eremin-Solenikov's avatar Dmitry Eremin-Solenikov Committed by Mark Brown
Browse files

ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers



After convertion to snd_soc_register_card, platform driver should
reference snd_soc_pm_ops callbacks to properly suspend/resume sound
hardware. This was missed during conversion of PXA sound devices.

Signed-off-by: default avatarDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent f62aa9b6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -163,6 +163,7 @@ static struct platform_driver mmp_driver = {
	.driver		= {
		.name	= "brownstone-audio",
		.owner	= THIS_MODULE,
		.pm     = &snd_soc_pm_ops,
	},
	.probe		= brownstone_probe,
	.remove		= brownstone_remove,
+1 −0
Original line number Diff line number Diff line
@@ -329,6 +329,7 @@ static struct platform_driver corgi_driver = {
	.driver		= {
		.name	= "corgi-audio",
		.owner	= THIS_MODULE,
		.pm     = &snd_soc_pm_ops,
	},
	.probe		= corgi_probe,
	.remove		= corgi_remove,
+1 −0
Original line number Diff line number Diff line
@@ -178,6 +178,7 @@ static struct platform_driver e740_driver = {
	.driver		= {
		.name	= "e740-audio",
		.owner	= THIS_MODULE,
		.pm     = &snd_soc_pm_ops,
	},
	.probe		= e740_probe,
	.remove		= e740_remove,
+1 −0
Original line number Diff line number Diff line
@@ -160,6 +160,7 @@ static struct platform_driver e750_driver = {
	.driver		= {
		.name	= "e750-audio",
		.owner	= THIS_MODULE,
		.pm     = &snd_soc_pm_ops,
	},
	.probe		= e750_probe,
	.remove		= e750_remove,
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ static struct platform_driver e800_driver = {
	.driver		= {
		.name	= "e800-audio",
		.owner	= THIS_MODULE,
		.pm     = &snd_soc_pm_ops,
	},
	.probe		= e800_probe,
	.remove		= e800_remove,
Loading