diff mbox series

ASoC: qcom: sc7180: Add missing PM ops

Message ID 20201109103415.607495-1-cychiang@chromium.org (mailing list archive)
State Accepted
Commit b2fc3029308dd1bace4c11c733eca2ef941b0e29
Headers show
Series ASoC: qcom: sc7180: Add missing PM ops | expand

Commit Message

Cheng-yi Chiang Nov. 9, 2020, 10:34 a.m. UTC
Use PM ops snd_soc_pm_ops to handle suspend/resume like other machine
drivers.

Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
---
 sound/soc/qcom/sc7180.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Nov. 9, 2020, 7:47 p.m. UTC | #1
On Mon, 9 Nov 2020 18:34:15 +0800, Cheng-Yi Chiang wrote:
> Use PM ops snd_soc_pm_ops to handle suspend/resume like other machine
> drivers.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: qcom: sc7180: Add missing PM ops
      commit: b2fc3029308dd1bace4c11c733eca2ef941b0e29

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark
diff mbox series

Patch

diff --git a/sound/soc/qcom/sc7180.c b/sound/soc/qcom/sc7180.c
index b391f64c3a80..42e366ecc689 100644
--- a/sound/soc/qcom/sc7180.c
+++ b/sound/soc/qcom/sc7180.c
@@ -258,6 +258,7 @@  static struct platform_driver sc7180_snd_driver = {
 	.driver = {
 		.name = "msm-snd-sc7180",
 		.of_match_table = sc7180_snd_device_id,
+		.pm = &snd_soc_pm_ops,
 	},
 };
 module_platform_driver(sc7180_snd_driver);