ASoC: realtek sdw: Add __maybe_unused to PM callbacks
Subsystems (3)
cover ASoC: realtek sdw: Add __maybe_unused to PM callbacks
Hi,
the trivial compile warnings were caught by my build test after pulling Mark's tree. Here are the fixes.
Takashi
===
Takashi Iwai (4):
ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks
ASoC: rt700: Add __maybe_unused to PM callbacks
ASoC: rt711: Add __maybe_unused to PM callbacks
ASoC: rt715: Add __maybe_unused to PM callbacks
sound/soc/codecs/rt1308-sdw.c | 4 ++-- sound/soc/codecs/rt700-sdw.c | 4 ++-- sound/soc/codecs/rt711-sdw.c | 4 ++-- sound/soc/codecs/rt715-sdw.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-)
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 1/4 ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks
Fix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt1308-sdw.c:690:12: warning: ‘rt1308_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt1308-sdw.c:676:12: warning: ‘rt1308_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt1308-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt1308-sdw.c +2 -2
@@ -673,7 +673,7 @@ static const struct sdw_device_id rt1308_id[] = { };MODULE_DEVICE_TABLE (sdw, rt1308_id); -static int rt1308_dev_suspend (struct device *dev) +static int __maybe_unused rt1308_dev_suspend (struct device *dev) {struct rt1308_sdw_priv *rt1308 =dev_get_drvdata (dev);
@@ -687,7 +687,7 @@ static int rt1308_dev_suspend(struct device *dev)#define RT1308_PROBE_TIMEOUT 2000 -static int rt1308_dev_resume (struct device *dev) +static int __maybe_unused rt1308_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt1308_sdw_priv *rt1308 =dev_get_drvdata (dev);
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
maintainer[alsa-devel] Applied "ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks" to the asoc tree
The patch
ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6
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
From faa37a9318899752d85761d47e79a42f3a0aa1b9 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 27 Jan 2020 20:28:28 +0100
Subject: [PATCH] ASoC: rt1308-sdw: Add __maybe_unused to PM callbacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt1308-sdw.c:690:12: warning: ‘rt1308_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt1308-sdw.c:676:12: warning: ‘rt1308_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt1308-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt1308-sdw.c +2 -2
@@ -673,7 +673,7 @@ static const struct sdw_device_id rt1308_id[] = { };MODULE_DEVICE_TABLE (sdw, rt1308_id); -static int rt1308_dev_suspend (struct device *dev) +static int __maybe_unused rt1308_dev_suspend (struct device *dev) {struct rt1308_sdw_priv *rt1308 =dev_get_drvdata (dev);
@@ -687,7 +687,7 @@ static int rt1308_dev_suspend(struct device *dev)#define RT1308_PROBE_TIMEOUT 2000 -static int rt1308_dev_resume (struct device *dev) +static int __maybe_unused rt1308_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt1308_sdw_priv *rt1308 =dev_get_drvdata (dev);
Signature · 1 line
2.20.1
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 2/4 ASoC: rt700: Add __maybe_unused to PM callbacks
In reply to Takashi IwaiFix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt700-sdw.c:503:12: warning: ‘rt700_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt700-sdw.c:489:12: warning: ‘rt700_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt700-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt700-sdw.c +2 -2
@@ -486,7 +486,7 @@ static const struct sdw_device_id rt700_id[] = { };MODULE_DEVICE_TABLE (sdw, rt700_id); -static int rt700_dev_suspend (struct device *dev) +static int __maybe_unused rt700_dev_suspend (struct device *dev) {struct rt700_priv *rt700 =dev_get_drvdata (dev);
@@ -500,7 +500,7 @@ static int rt700_dev_suspend(struct device *dev)#define RT700_PROBE_TIMEOUT 2000 -static int rt700_dev_resume (struct device *dev) +static int __maybe_unused rt700_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt700_priv *rt700 =dev_get_drvdata (dev);
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
maintainer[alsa-devel] Applied "ASoC: rt700: Add __maybe_unused to PM callbacks" to the asoc tree
The patch
ASoC: rt700: Add __maybe_unused to PM callbacks
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6
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
From 809a9b63323278e94f73d8b1f85b64e347f639ba Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 27 Jan 2020 20:28:29 +0100
Subject: [PATCH] ASoC: rt700: Add __maybe_unused to PM callbacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt700-sdw.c:503:12: warning: ‘rt700_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt700-sdw.c:489:12: warning: ‘rt700_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt700-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt700-sdw.c +2 -2
@@ -486,7 +486,7 @@ static const struct sdw_device_id rt700_id[] = { };MODULE_DEVICE_TABLE (sdw, rt700_id); -static int rt700_dev_suspend (struct device *dev) +static int __maybe_unused rt700_dev_suspend (struct device *dev) {struct rt700_priv *rt700 =dev_get_drvdata (dev);
@@ -500,7 +500,7 @@ static int rt700_dev_suspend(struct device *dev)#define RT700_PROBE_TIMEOUT 2000 -static int rt700_dev_resume (struct device *dev) +static int __maybe_unused rt700_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt700_priv *rt700 =dev_get_drvdata (dev);
Signature · 1 line
2.20.1
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 3/4 ASoC: rt711: Add __maybe_unused to PM callbacks
In reply to Takashi IwaiFix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt711-sdw.c:504:12: warning: ‘rt711_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt711-sdw.c:490:12: warning: ‘rt711_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt711-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt711-sdw.c +2 -2
@@ -487,7 +487,7 @@ static const struct sdw_device_id rt711_id[] = { };MODULE_DEVICE_TABLE (sdw, rt711_id); -static int rt711_dev_suspend (struct device *dev) +static int __maybe_unused rt711_dev_suspend (struct device *dev) {struct rt711_priv *rt711 =dev_get_drvdata (dev);
@@ -501,7 +501,7 @@ static int rt711_dev_suspend(struct device *dev)#define RT711_PROBE_TIMEOUT 2000 -static int rt711_dev_resume (struct device *dev) +static int __maybe_unused rt711_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt711_priv *rt711 =dev_get_drvdata (dev);
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
maintainer[alsa-devel] Applied "ASoC: rt711: Add __maybe_unused to PM callbacks" to the asoc tree
The patch
ASoC: rt711: Add __maybe_unused to PM callbacks
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6
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
From 973649d38e2664eb45e1ae9adfdce53626c29f94 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 27 Jan 2020 20:28:30 +0100
Subject: [PATCH] ASoC: rt711: Add __maybe_unused to PM callbacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt711-sdw.c:504:12: warning: ‘rt711_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt711-sdw.c:490:12: warning: ‘rt711_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt711-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt711-sdw.c +2 -2
@@ -487,7 +487,7 @@ static const struct sdw_device_id rt711_id[] = { };MODULE_DEVICE_TABLE (sdw, rt711_id); -static int rt711_dev_suspend (struct device *dev) +static int __maybe_unused rt711_dev_suspend (struct device *dev) {struct rt711_priv *rt711 =dev_get_drvdata (dev);
@@ -501,7 +501,7 @@ static int rt711_dev_suspend(struct device *dev)#define RT711_PROBE_TIMEOUT 2000 -static int rt711_dev_resume (struct device *dev) +static int __maybe_unused rt711_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt711_priv *rt711 =dev_get_drvdata (dev);
Signature · 1 line
2.20.1
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 4/4 ASoC: rt715: Add __maybe_unused to PM callbacks
In reply to Takashi IwaiFix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt715-sdw.c:566:12: warning: ‘rt715_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt715-sdw.c:552:12: warning: ‘rt715_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt715-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt715-sdw.c +2 -2
@@ -549,7 +549,7 @@ static const struct sdw_device_id rt715_id[] = { };MODULE_DEVICE_TABLE (sdw, rt715_id); -static int rt715_dev_suspend (struct device *dev) +static int __maybe_unused rt715_dev_suspend (struct device *dev) {struct rt715_priv *rt715 =dev_get_drvdata (dev);
@@ -563,7 +563,7 @@ static int rt715_dev_suspend(struct device *dev)#define RT715_PROBE_TIMEOUT 2000 -static int rt715_dev_resume (struct device *dev) +static int __maybe_unused rt715_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt715_priv *rt715 =dev_get_drvdata (dev);
Signature · 6 lines
2.16.4 _______________________________________________ Alsa-devel mailing list [email protected] https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
maintainer[alsa-devel] Applied "ASoC: rt715: Add __maybe_unused to PM callbacks" to the asoc tree
The patch
ASoC: rt715: Add __maybe_unused to PM callbacks
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.6
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
From 4099c3295e480907e37b93d51fc17fda81dd5bed Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Mon, 27 Jan 2020 20:28:31 +0100
Subject: [PATCH] ASoC: rt715: Add __maybe_unused to PM callbacks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix the compile warnings by adding __maybe_unused to PM callbacks:
sound/soc/codecs/rt715-sdw.c:566:12: warning: ‘rt715_dev_resume’ defined but not used [-Wunused-function] sound/soc/codecs/rt715-sdw.c:552:12: warning: ‘rt715_dev_suspend’ defined but not used [-Wunused-function]
--- sound/soc/codecs/rt715-sdw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/rt715-sdw.c +2 -2
@@ -549,7 +549,7 @@ static const struct sdw_device_id rt715_id[] = { };MODULE_DEVICE_TABLE (sdw, rt715_id); -static int rt715_dev_suspend (struct device *dev) +static int __maybe_unused rt715_dev_suspend (struct device *dev) {struct rt715_priv *rt715 =dev_get_drvdata (dev);
@@ -563,7 +563,7 @@ static int rt715_dev_suspend(struct device *dev)#define RT715_PROBE_TIMEOUT 2000 -static int rt715_dev_resume (struct device *dev) +static int __maybe_unused rt715_dev_resume (struct device *dev) {struct sdw_slave *slave =dev_to_sdw_dev (dev);struct rt715_priv *rt715 =dev_get_drvdata (dev);
Signature · 1 line
2.20.1
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel