* [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:42 ` [PATCH 03/25] ASoC: fsl: " Coiby Xu
2020-10-29 7:43 ` [PATCH 25/25] ALSA: aoa: " Coiby Xu
2 siblings, 0 replies; 3+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:FREESCALE SOC SOUND DRIVERS, Timur Tabi, Xiubo Li,
Fabio Estevam, open list:FREESCALE SOC SOUND DRIVERS,
Liam Girdwood, open list, Nicolin Chen, Mark Brown,
Shengjiu Wang
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/fsl/fsl_ssi.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index 404be27c15fe..065500a4cbc1 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -1669,7 +1669,6 @@ static int fsl_ssi_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int fsl_ssi_suspend(struct device *dev)
{
struct fsl_ssi *ssi = dev_get_drvdata(dev);
@@ -1699,7 +1698,6 @@ static int fsl_ssi_resume(struct device *dev)
return regcache_sync(regs);
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops fsl_ssi_pm = {
SET_SYSTEM_SLEEP_PM_OPS(fsl_ssi_suspend, fsl_ssi_resume)
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 03/25] ASoC: fsl: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
2020-10-29 7:42 ` [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
@ 2020-10-29 7:42 ` Coiby Xu
2020-10-29 7:43 ` [PATCH 25/25] ALSA: aoa: " Coiby Xu
2 siblings, 0 replies; 3+ messages in thread
From: Coiby Xu @ 2020-10-29 7:42 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: moderated list:FREESCALE SOC SOUND DRIVERS, Timur Tabi, Xiubo Li,
Fabio Estevam, Sascha Hauer,
open list:FREESCALE SOC SOUND DRIVERS, Liam Girdwood, open list,
Nicolin Chen, Mark Brown, NXP Linux Team,
Pengutronix Kernel Team, Shawn Guo, Shengjiu Wang,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/soc/fsl/imx-audmux.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c
index 25c18b9e348f..6d77188a4eab 100644
--- a/sound/soc/fsl/imx-audmux.c
+++ b/sound/soc/fsl/imx-audmux.c
@@ -349,7 +349,6 @@ static int imx_audmux_remove(struct platform_device *pdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int imx_audmux_suspend(struct device *dev)
{
int i;
@@ -377,7 +376,6 @@ static int imx_audmux_resume(struct device *dev)
return 0;
}
-#endif /* CONFIG_PM_SLEEP */
static const struct dev_pm_ops imx_audmux_pm = {
SET_SYSTEM_SLEEP_PM_OPS(imx_audmux_suspend, imx_audmux_resume)
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 25/25] ALSA: aoa: remove unnecessary CONFIG_PM_SLEEP
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
2020-10-29 7:42 ` [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
2020-10-29 7:42 ` [PATCH 03/25] ASoC: fsl: " Coiby Xu
@ 2020-10-29 7:43 ` Coiby Xu
2 siblings, 0 replies; 3+ messages in thread
From: Coiby Xu @ 2020-10-29 7:43 UTC (permalink / raw)
To: Jaroslav Kysela, Takashi Iwai
Cc: Johannes Berg, open list:AOA Apple Onboard Audio ALSA DRIVER,
moderated list:AOA Apple Onboard Audio ALSA DRIVER, open list
SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG.
Signed-off-by: Coiby Xu <coiby.xu@gmail.com>
---
sound/aoa/fabrics/layout.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sound/aoa/fabrics/layout.c b/sound/aoa/fabrics/layout.c
index d2e85b83f7ed..197d13f23141 100644
--- a/sound/aoa/fabrics/layout.c
+++ b/sound/aoa/fabrics/layout.c
@@ -1126,7 +1126,6 @@ static int aoa_fabric_layout_remove(struct soundbus_dev *sdev)
return 0;
}
-#ifdef CONFIG_PM_SLEEP
static int aoa_fabric_layout_suspend(struct device *dev)
{
struct layout_dev *ldev = dev_get_drvdata(dev);
@@ -1150,7 +1149,6 @@ static int aoa_fabric_layout_resume(struct device *dev)
static SIMPLE_DEV_PM_OPS(aoa_fabric_layout_pm_ops,
aoa_fabric_layout_suspend, aoa_fabric_layout_resume);
-#endif
static struct soundbus_driver aoa_soundbus_driver = {
.name = "snd_aoa_soundbus_drv",
@@ -1159,9 +1157,7 @@ static struct soundbus_driver aoa_soundbus_driver = {
.remove = aoa_fabric_layout_remove,
.driver = {
.owner = THIS_MODULE,
-#ifdef CONFIG_PM_SLEEP
.pm = &aoa_fabric_layout_pm_ops,
-#endif
}
};
--
2.28.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-29 8:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20201029074301.226644-1-coiby.xu@gmail.com>
2020-10-29 7:42 ` [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
2020-10-29 7:42 ` [PATCH 03/25] ASoC: fsl: " Coiby Xu
2020-10-29 7:43 ` [PATCH 25/25] ALSA: aoa: " Coiby Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).