aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-12-18 23:28:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-12-18 23:28:33 -0500
commitc0f486fde3f353232c1cc2fd4d62783ac782a467 (patch)
tree600d222f6d9e975d88ab774aa9d8e5ea9109b08f /sound
parent385336e321c41b5174055c0194b60c19a27cc5c5 (diff)
parent2ec1c17cadd0b994732f292d4bc49fc3a05d85a4 (diff)
Merge tag 'pm+acpi-3.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull more ACPI and power management updates from Rafael Wysocki: "These are regression fixes (leds-gpio, ACPI backlight driver, operating performance points library, ACPI device enumeration messages, cpupower tool), other bug fixes (ACPI EC driver, ACPI device PM), some cleanups in the operating performance points (OPP) framework, continuation of CONFIG_PM_RUNTIME elimination, a couple of minor intel_pstate driver changes, a new MAINTAINERS entry for it and an ACPI fan driver change needed for better support of thermal management in user space. Specifics: - Fix a regression in leds-gpio introduced by a recent commit that inadvertently changed the name of one of the properties used by the driver (Fabio Estevam). - Fix a regression in the ACPI backlight driver introduced by a recent fix that missed one special case that had to be taken into account (Aaron Lu). - Drop the level of some new kernel messages from the ACPI core introduced by a recent commit to KERN_DEBUG which they should have used from the start and drop some other unuseful KERN_ERR messages printed by ACPI (Rafael J Wysocki). - Revert an incorrect commit modifying the cpupower tool (Prarit Bhargava). - Fix two regressions introduced by recent commits in the OPP library and clean up some existing minor issues in that code (Viresh Kumar). - Continue to replace CONFIG_PM_RUNTIME with CONFIG_PM throughout the tree (or drop it where that can be done) in order to make it possible to eliminate CONFIG_PM_RUNTIME (Rafael J Wysocki, Ulf Hansson, Ludovic Desroches). There will be one more "CONFIG_PM_RUNTIME removal" batch after this one, because some new uses of it have been introduced during the current merge window, but that should be sufficient to finally get rid of it. - Make the ACPI EC driver more robust against race conditions related to GPE handler installation failures (Lv Zheng). - Prevent the ACPI device PM core code from attempting to disable GPEs that it has not enabled which confuses ACPICA and makes it report errors unnecessarily (Rafael J Wysocki). - Add a "force" command line switch to the intel_pstate driver to make it possible to override the blacklisting of some systems in that driver if needed (Ethan Zhao). - Improve intel_pstate code documentation and add a MAINTAINERS entry for it (Kristen Carlson Accardi). - Make the ACPI fan driver create cooling device interfaces witn names that reflect the IDs of the ACPI device objects they are associated with, except for "generic" ACPI fans (PNP ID "PNP0C0B"). That's necessary for user space thermal management tools to be able to connect the fans with the parts of the system they are supposed to be cooling properly. From Srinivas Pandruvada" * tag 'pm+acpi-3.19-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (32 commits) MAINTAINERS: add entry for intel_pstate ACPI / video: update the skip case for acpi_video_device_in_dod() power / PM: Eliminate CONFIG_PM_RUNTIME NFC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM ACPI / EC: Fix unexpected ec_remove_handlers() invocations Revert "tools: cpupower: fix return checks for sysfs_get_idlestate_count()" tracing / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM x86 / PM: Replace CONFIG_PM_RUNTIME in io_apic.c PM: Remove the SET_PM_RUNTIME_PM_OPS() macro mmc: atmel-mci: use SET_RUNTIME_PM_OPS() macro PM / Kconfig: Replace PM_RUNTIME with PM in dependencies ARM / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM sound / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM phy / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM video / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM tty / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM spi: Replace CONFIG_PM_RUNTIME with CONFIG_PM ACPI / PM: Do not disable wakeup GPEs that have not been enabled ACPI / utils: Drop error messages from acpi_evaluate_reference() ...
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_controller.c2
-rw-r--r--sound/pci/hda/hda_intel.c5
-rw-r--r--sound/soc/codecs/cs35l32.c2
-rw-r--r--sound/soc/codecs/cs42xx8.c2
-rw-r--r--sound/soc/codecs/max98090.c2
-rw-r--r--sound/soc/codecs/pcm512x.c2
-rw-r--r--sound/soc/codecs/tas2552.c4
-rw-r--r--sound/soc/codecs/wm2200.c2
-rw-r--r--sound/soc/codecs/wm5100.c2
-rw-r--r--sound/soc/codecs/wm8962.c2
-rw-r--r--sound/soc/fsl/fsl_asrc.c4
-rw-r--r--sound/soc/samsung/i2s.c4
12 files changed, 15 insertions, 18 deletions
diff --git a/sound/pci/hda/hda_controller.c b/sound/pci/hda/hda_controller.c
index 8337645aa7a5..8276a743e22e 100644
--- a/sound/pci/hda/hda_controller.c
+++ b/sound/pci/hda/hda_controller.c
@@ -1676,7 +1676,7 @@ irqreturn_t azx_interrupt(int irq, void *dev_id)
1676 u8 sd_status; 1676 u8 sd_status;
1677 int i; 1677 int i;
1678 1678
1679#ifdef CONFIG_PM_RUNTIME 1679#ifdef CONFIG_PM
1680 if (chip->driver_caps & AZX_DCAPS_PM_RUNTIME) 1680 if (chip->driver_caps & AZX_DCAPS_PM_RUNTIME)
1681 if (!pm_runtime_active(chip->card->dev)) 1681 if (!pm_runtime_active(chip->card->dev))
1682 return IRQ_NONE; 1682 return IRQ_NONE;
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 5ac0d39d59bc..2bf0b568e3de 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -872,7 +872,7 @@ static int azx_resume(struct device *dev)
872} 872}
873#endif /* CONFIG_PM_SLEEP || SUPPORT_VGA_SWITCHEROO */ 873#endif /* CONFIG_PM_SLEEP || SUPPORT_VGA_SWITCHEROO */
874 874
875#ifdef CONFIG_PM_RUNTIME 875#ifdef CONFIG_PM
876static int azx_runtime_suspend(struct device *dev) 876static int azx_runtime_suspend(struct device *dev)
877{ 877{
878 struct snd_card *card = dev_get_drvdata(dev); 878 struct snd_card *card = dev_get_drvdata(dev);
@@ -970,9 +970,6 @@ static int azx_runtime_idle(struct device *dev)
970 return 0; 970 return 0;
971} 971}
972 972
973#endif /* CONFIG_PM_RUNTIME */
974
975#ifdef CONFIG_PM
976static const struct dev_pm_ops azx_pm = { 973static const struct dev_pm_ops azx_pm = {
977 SET_SYSTEM_SLEEP_PM_OPS(azx_suspend, azx_resume) 974 SET_SYSTEM_SLEEP_PM_OPS(azx_suspend, azx_resume)
978 SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, azx_runtime_idle) 975 SET_RUNTIME_PM_OPS(azx_runtime_suspend, azx_runtime_resume, azx_runtime_idle)
diff --git a/sound/soc/codecs/cs35l32.c b/sound/soc/codecs/cs35l32.c
index c125925da92e..ec55c590afd0 100644
--- a/sound/soc/codecs/cs35l32.c
+++ b/sound/soc/codecs/cs35l32.c
@@ -550,7 +550,7 @@ static int cs35l32_i2c_remove(struct i2c_client *i2c_client)
550 return 0; 550 return 0;
551} 551}
552 552
553#ifdef CONFIG_PM_RUNTIME 553#ifdef CONFIG_PM
554static int cs35l32_runtime_suspend(struct device *dev) 554static int cs35l32_runtime_suspend(struct device *dev)
555{ 555{
556 struct cs35l32_private *cs35l32 = dev_get_drvdata(dev); 556 struct cs35l32_private *cs35l32 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/cs42xx8.c b/sound/soc/codecs/cs42xx8.c
index 02b1520ae0bc..670ebfe12903 100644
--- a/sound/soc/codecs/cs42xx8.c
+++ b/sound/soc/codecs/cs42xx8.c
@@ -537,7 +537,7 @@ err_enable:
537} 537}
538EXPORT_SYMBOL_GPL(cs42xx8_probe); 538EXPORT_SYMBOL_GPL(cs42xx8_probe);
539 539
540#ifdef CONFIG_PM_RUNTIME 540#ifdef CONFIG_PM
541static int cs42xx8_runtime_resume(struct device *dev) 541static int cs42xx8_runtime_resume(struct device *dev)
542{ 542{
543 struct cs42xx8_priv *cs42xx8 = dev_get_drvdata(dev); 543 struct cs42xx8_priv *cs42xx8 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index 151f718241ea..b112b1c2c394 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -2611,7 +2611,7 @@ static int max98090_i2c_remove(struct i2c_client *client)
2611 return 0; 2611 return 0;
2612} 2612}
2613 2613
2614#ifdef CONFIG_PM_RUNTIME 2614#ifdef CONFIG_PM
2615static int max98090_runtime_resume(struct device *dev) 2615static int max98090_runtime_resume(struct device *dev)
2616{ 2616{
2617 struct max98090_priv *max98090 = dev_get_drvdata(dev); 2617 struct max98090_priv *max98090 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/pcm512x.c b/sound/soc/codecs/pcm512x.c
index 0c8aefab404c..e5f2fb884bf3 100644
--- a/sound/soc/codecs/pcm512x.c
+++ b/sound/soc/codecs/pcm512x.c
@@ -517,7 +517,7 @@ void pcm512x_remove(struct device *dev)
517} 517}
518EXPORT_SYMBOL_GPL(pcm512x_remove); 518EXPORT_SYMBOL_GPL(pcm512x_remove);
519 519
520#ifdef CONFIG_PM_RUNTIME 520#ifdef CONFIG_PM
521static int pcm512x_suspend(struct device *dev) 521static int pcm512x_suspend(struct device *dev)
522{ 522{
523 struct pcm512x_priv *pcm512x = dev_get_drvdata(dev); 523 struct pcm512x_priv *pcm512x = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/tas2552.c b/sound/soc/codecs/tas2552.c
index b505212019e2..ae23acdd2708 100644
--- a/sound/soc/codecs/tas2552.c
+++ b/sound/soc/codecs/tas2552.c
@@ -115,7 +115,7 @@ static const struct snd_soc_dapm_route tas2552_audio_map[] = {
115 {"ClassD", NULL, "PLL"}, 115 {"ClassD", NULL, "PLL"},
116}; 116};
117 117
118#ifdef CONFIG_PM_RUNTIME 118#ifdef CONFIG_PM
119static void tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown) 119static void tas2552_sw_shutdown(struct tas2552_data *tas_data, int sw_shutdown)
120{ 120{
121 u8 cfg1_reg; 121 u8 cfg1_reg;
@@ -264,7 +264,7 @@ static int tas2552_mute(struct snd_soc_dai *dai, int mute)
264 return 0; 264 return 0;
265} 265}
266 266
267#ifdef CONFIG_PM_RUNTIME 267#ifdef CONFIG_PM
268static int tas2552_runtime_suspend(struct device *dev) 268static int tas2552_runtime_suspend(struct device *dev)
269{ 269{
270 struct tas2552_data *tas2552 = dev_get_drvdata(dev); 270 struct tas2552_data *tas2552 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c
index cdea9d9c1631..15599845a660 100644
--- a/sound/soc/codecs/wm2200.c
+++ b/sound/soc/codecs/wm2200.c
@@ -2440,7 +2440,7 @@ static int wm2200_i2c_remove(struct i2c_client *i2c)
2440 return 0; 2440 return 0;
2441} 2441}
2442 2442
2443#ifdef CONFIG_PM_RUNTIME 2443#ifdef CONFIG_PM
2444static int wm2200_runtime_suspend(struct device *dev) 2444static int wm2200_runtime_suspend(struct device *dev)
2445{ 2445{
2446 struct wm2200_priv *wm2200 = dev_get_drvdata(dev); 2446 struct wm2200_priv *wm2200 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index a01ad629ed61..b80970dc2d2f 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -2664,7 +2664,7 @@ static int wm5100_i2c_remove(struct i2c_client *i2c)
2664 return 0; 2664 return 0;
2665} 2665}
2666 2666
2667#ifdef CONFIG_PM_RUNTIME 2667#ifdef CONFIG_PM
2668static int wm5100_runtime_suspend(struct device *dev) 2668static int wm5100_runtime_suspend(struct device *dev)
2669{ 2669{
2670 struct wm5100_priv *wm5100 = dev_get_drvdata(dev); 2670 struct wm5100_priv *wm5100 = dev_get_drvdata(dev);
diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index 1534d88a66e9..d32d554f5b34 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -3785,7 +3785,7 @@ static int wm8962_i2c_remove(struct i2c_client *client)
3785 return 0; 3785 return 0;
3786} 3786}
3787 3787
3788#ifdef CONFIG_PM_RUNTIME 3788#ifdef CONFIG_PM
3789static int wm8962_runtime_resume(struct device *dev) 3789static int wm8962_runtime_resume(struct device *dev)
3790{ 3790{
3791 struct wm8962_priv *wm8962 = dev_get_drvdata(dev); 3791 struct wm8962_priv *wm8962 = dev_get_drvdata(dev);
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c
index 9deabdd2b1a2..026a80117540 100644
--- a/sound/soc/fsl/fsl_asrc.c
+++ b/sound/soc/fsl/fsl_asrc.c
@@ -928,7 +928,7 @@ static int fsl_asrc_probe(struct platform_device *pdev)
928 return 0; 928 return 0;
929} 929}
930 930
931#ifdef CONFIG_PM_RUNTIME 931#ifdef CONFIG_PM
932static int fsl_asrc_runtime_resume(struct device *dev) 932static int fsl_asrc_runtime_resume(struct device *dev)
933{ 933{
934 struct fsl_asrc *asrc_priv = dev_get_drvdata(dev); 934 struct fsl_asrc *asrc_priv = dev_get_drvdata(dev);
@@ -954,7 +954,7 @@ static int fsl_asrc_runtime_suspend(struct device *dev)
954 954
955 return 0; 955 return 0;
956} 956}
957#endif /* CONFIG_PM_RUNTIME */ 957#endif /* CONFIG_PM */
958 958
959#ifdef CONFIG_PM_SLEEP 959#ifdef CONFIG_PM_SLEEP
960static int fsl_asrc_suspend(struct device *dev) 960static int fsl_asrc_suspend(struct device *dev)
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 95340ba415c7..b1a7c5bce4a1 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -1135,7 +1135,7 @@ static inline const struct samsung_i2s_dai_data *samsung_i2s_get_driver_data(
1135 platform_get_device_id(pdev)->driver_data; 1135 platform_get_device_id(pdev)->driver_data;
1136} 1136}
1137 1137
1138#ifdef CONFIG_PM_RUNTIME 1138#ifdef CONFIG_PM
1139static int i2s_runtime_suspend(struct device *dev) 1139static int i2s_runtime_suspend(struct device *dev)
1140{ 1140{
1141 struct i2s_dai *i2s = dev_get_drvdata(dev); 1141 struct i2s_dai *i2s = dev_get_drvdata(dev);
@@ -1153,7 +1153,7 @@ static int i2s_runtime_resume(struct device *dev)
1153 1153
1154 return 0; 1154 return 0;
1155} 1155}
1156#endif /* CONFIG_PM_RUNTIME */ 1156#endif /* CONFIG_PM */
1157 1157
1158static int samsung_i2s_probe(struct platform_device *pdev) 1158static int samsung_i2s_probe(struct platform_device *pdev)
1159{ 1159{