From bf77cfbf26bbcaf6610d4341bcb34f2c2d1d4b7d Mon Sep 17 00:00:00 2001 From: Sumit Singh Date: Tue, 15 Mar 2016 14:47:58 +0530 Subject: [PATCH] ALSA: HDA: Replace CONFIG_PM_RUNTIME with CONFIG_PM After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on CONFIG_PM. Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under sound/. JIRA TPM-704 Change-Id: I5807fa8d35b3fbbd1afdb69d2dbba760abb80e27 Signed-off-by: Sumit Singh --- sound/soc/tegra-alt/tegra210_adsp_alt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/tegra-alt/tegra210_adsp_alt.c b/sound/soc/tegra-alt/tegra210_adsp_alt.c index fbbf7f0d..0fa1dd70 100644 --- a/sound/soc/tegra-alt/tegra210_adsp_alt.c +++ b/sound/soc/tegra-alt/tegra210_adsp_alt.c @@ -1761,7 +1761,7 @@ static int tegra210_adsp_eavb_hw_params(struct snd_pcm_substream *substream, return 0; } -#ifdef CONFIG_PM_RUNTIME +#ifdef CONFIG_PM static int tegra210_adsp_runtime_suspend(struct device *dev) { struct tegra210_adsp *adsp = dev_get_drvdata(dev);