Skip to contentSkip to conversation

Patch "ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Nov 6, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

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

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
asoc-intel-boards-remove-.pm_ops-in-all-atom-dpcm-machine-drivers.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon Nov 6 10:07:35 CET 2017

From: Pierre-Louis Bossart <[email protected]>
Date: Sat, 7 Oct 2017 22:36:56 +0000
Subject: ASoC: Intel: boards: remove .pm_ops in all Atom/DPCM machine drivers

From: Pierre-Louis Bossart <[email protected]>

[ Upstream commit 3639ac1cd5177685a5c8abb7230096b680e1d497 ]

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 3f2dcbeaeb2b
("ASoC: Intel: Remove soc pm handling to allow platform driver handle it").

---
 sound/soc/intel/boards/bytcr_rt5640.c |    1 -
 sound/soc/intel/boards/bytcr_rt5651.c |    1 -
 2 files changed, 2 deletions(-)
sound/soc/intel/boards/bytcr_rt5640.c +0 -1
@@ -807,7 +807,6 @@ static int snd_byt_rt5640_mc_probe(struc
 static struct platform_driver snd_byt_rt5640_mc_driver = {
 	.driver = {
 		.name = "bytcr_rt5640",
-		.pm = &snd_soc_pm_ops,
 	},
 	.probe = snd_byt_rt5640_mc_probe,
 };
sound/soc/intel/boards/bytcr_rt5651.c +0 -1
@@ -317,7 +317,6 @@ static int snd_byt_rt5651_mc_probe(struc
 static struct platform_driver snd_byt_rt5651_mc_driver = {
 	.driver = {
 		.name = "bytcr_rt5651",
-		.pm = &snd_soc_pm_ops,
 	},
 	.probe = snd_byt_rt5651_mc_probe,
 };

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/asoc-intel-boards-remove-.pm_ops-in-all-atom-dpcm-machine-drivers.patch