2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 18:23:53 +08:00

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: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
Dmitry Eremin-Solenikov 2013-10-17 14:01:37 +04:00 committed by Mark Brown
parent f62aa9b6c9
commit 7db1698f72
11 changed files with 11 additions and 0 deletions

View File

@ -163,6 +163,7 @@ static struct platform_driver mmp_driver = {
.driver = { .driver = {
.name = "brownstone-audio", .name = "brownstone-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = brownstone_probe, .probe = brownstone_probe,
.remove = brownstone_remove, .remove = brownstone_remove,

View File

@ -329,6 +329,7 @@ static struct platform_driver corgi_driver = {
.driver = { .driver = {
.name = "corgi-audio", .name = "corgi-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = corgi_probe, .probe = corgi_probe,
.remove = corgi_remove, .remove = corgi_remove,

View File

@ -178,6 +178,7 @@ static struct platform_driver e740_driver = {
.driver = { .driver = {
.name = "e740-audio", .name = "e740-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = e740_probe, .probe = e740_probe,
.remove = e740_remove, .remove = e740_remove,

View File

@ -160,6 +160,7 @@ static struct platform_driver e750_driver = {
.driver = { .driver = {
.name = "e750-audio", .name = "e750-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = e750_probe, .probe = e750_probe,
.remove = e750_remove, .remove = e750_remove,

View File

@ -150,6 +150,7 @@ static struct platform_driver e800_driver = {
.driver = { .driver = {
.name = "e800-audio", .name = "e800-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = e800_probe, .probe = e800_probe,
.remove = e800_remove, .remove = e800_remove,

View File

@ -91,6 +91,7 @@ static struct platform_driver imote2_driver = {
.driver = { .driver = {
.name = "imote2-audio", .name = "imote2-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = imote2_probe, .probe = imote2_probe,
.remove = imote2_remove, .remove = imote2_remove,

View File

@ -215,6 +215,7 @@ static struct platform_driver mioa701_wm9713_driver = {
.driver = { .driver = {
.name = "mioa701-wm9713", .name = "mioa701-wm9713",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
}; };

View File

@ -181,6 +181,7 @@ static struct platform_driver palm27x_wm9712_driver = {
.driver = { .driver = {
.name = "palm27x-asoc", .name = "palm27x-asoc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
}; };

View File

@ -303,6 +303,7 @@ static struct platform_driver poodle_driver = {
.driver = { .driver = {
.name = "poodle-audio", .name = "poodle-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = poodle_probe, .probe = poodle_probe,
.remove = poodle_remove, .remove = poodle_remove,

View File

@ -275,6 +275,7 @@ static struct platform_driver tosa_driver = {
.driver = { .driver = {
.name = "tosa-audio", .name = "tosa-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = tosa_probe, .probe = tosa_probe,
.remove = tosa_remove, .remove = tosa_remove,

View File

@ -160,6 +160,7 @@ static struct platform_driver ttc_dkb_driver = {
.driver = { .driver = {
.name = "ttc-dkb-audio", .name = "ttc-dkb-audio",
.owner = THIS_MODULE, .owner = THIS_MODULE,
.pm = &snd_soc_pm_ops,
}, },
.probe = ttc_dkb_probe, .probe = ttc_dkb_probe,
.remove = ttc_dkb_remove, .remove = ttc_dkb_remove,