Commit 3639ac1c authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers

This patch corrects an omission in bytcr_rt5640 and bytcr_rt5651.
All existing machine drivers shall not use .pm_ops to avoid a double
suspend, as initially implemented by 3f2dcbea
("ASoC: Intel: Remove soc pm handling to allow platform driver handle it").
Reported-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a5de5b74
...@@ -846,7 +846,6 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) ...@@ -846,7 +846,6 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
static struct platform_driver snd_byt_rt5640_mc_driver = { static struct platform_driver snd_byt_rt5640_mc_driver = {
.driver = { .driver = {
.name = "bytcr_rt5640", .name = "bytcr_rt5640",
.pm = &snd_soc_pm_ops,
}, },
.probe = snd_byt_rt5640_mc_probe, .probe = snd_byt_rt5640_mc_probe,
}; };
......
...@@ -319,7 +319,6 @@ static int snd_byt_rt5651_mc_probe(struct platform_device *pdev) ...@@ -319,7 +319,6 @@ static int snd_byt_rt5651_mc_probe(struct platform_device *pdev)
static struct platform_driver snd_byt_rt5651_mc_driver = { static struct platform_driver snd_byt_rt5651_mc_driver = {
.driver = { .driver = {
.name = "bytcr_rt5651", .name = "bytcr_rt5651",
.pm = &snd_soc_pm_ops,
}, },
.probe = snd_byt_rt5651_mc_probe, .probe = snd_byt_rt5651_mc_probe,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment