* [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning
@ 2015-08-23 2:07 Axel Lin
2015-08-23 3:15 ` Vaishali Thakkar
2015-08-25 9:36 ` Applied "ASoC: tegra: Fix unused variable 'spdif' warning" to the asoc tree Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-08-23 2:07 UTC (permalink / raw)
To: Mark Brown; +Cc: Vaishali Thakkar, alsa-devel, Liam Girdwood
Fix below build warning:
CC [M] sound/soc/tegra/tegra20_spdif.o
sound/soc/tegra/tegra20_spdif.c: In function 'tegra20_spdif_platform_remove':
sound/soc/tegra/tegra20_spdif.c:361:24: warning: unused variable 'spdif' [-Wunused-variable]
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
sound/soc/tegra/tegra20_spdif.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c
index 66237bc..0809b1e 100644
--- a/sound/soc/tegra/tegra20_spdif.c
+++ b/sound/soc/tegra/tegra20_spdif.c
@@ -358,8 +358,6 @@ err_pm_disable:
static int tegra20_spdif_platform_remove(struct platform_device *pdev)
{
- struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev);
-
pm_runtime_disable(&pdev->dev);
if (!pm_runtime_status_suspended(&pdev->dev))
tegra20_spdif_runtime_suspend(&pdev->dev);
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning
2015-08-23 2:07 [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning Axel Lin
@ 2015-08-23 3:15 ` Vaishali Thakkar
2015-08-25 9:36 ` Applied "ASoC: tegra: Fix unused variable 'spdif' warning" to the asoc tree Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Vaishali Thakkar @ 2015-08-23 3:15 UTC (permalink / raw)
To: Axel Lin; +Cc: alsa-devel, Mark Brown, Liam Girdwood
On Sun, Aug 23, 2015 at 7:37 AM, Axel Lin <axel.lin@ingics.com> wrote:
> Fix below build warning:
> CC [M] sound/soc/tegra/tegra20_spdif.o
> sound/soc/tegra/tegra20_spdif.c: In function 'tegra20_spdif_platform_remove':
> sound/soc/tegra/tegra20_spdif.c:361:24: warning: unused variable 'spdif' [-Wunused-variable]
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Vaishali Thakkar <vthakkar1994@gmail.com>
> ---
> sound/soc/tegra/tegra20_spdif.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c
> index 66237bc..0809b1e 100644
> --- a/sound/soc/tegra/tegra20_spdif.c
> +++ b/sound/soc/tegra/tegra20_spdif.c
> @@ -358,8 +358,6 @@ err_pm_disable:
>
> static int tegra20_spdif_platform_remove(struct platform_device *pdev)
> {
> - struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev);
> -
> pm_runtime_disable(&pdev->dev);
> if (!pm_runtime_status_suspended(&pdev->dev))
> tegra20_spdif_runtime_suspend(&pdev->dev);
> --
> 2.1.0
>
Thanks for sending this patch.
>
--
Vaishali
^ permalink raw reply [flat|nested] 3+ messages in thread
* Applied "ASoC: tegra: Fix unused variable 'spdif' warning" to the asoc tree
2015-08-23 2:07 [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning Axel Lin
2015-08-23 3:15 ` Vaishali Thakkar
@ 2015-08-25 9:36 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2015-08-25 9:36 UTC (permalink / raw)
To: Axel Lin, Mark Brown; +Cc: alsa-devel
The patch
ASoC: tegra: Fix unused variable 'spdif' warning
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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 5e9a3fcfa2ca10e3ff76938fe9a12515ffa41003 Mon Sep 17 00:00:00 2001
From: Axel Lin <axel.lin@ingics.com>
Date: Sun, 23 Aug 2015 10:07:13 +0800
Subject: [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning
Fix below build warning:
CC [M] sound/soc/tegra/tegra20_spdif.o
sound/soc/tegra/tegra20_spdif.c: In function 'tegra20_spdif_platform_remove':
sound/soc/tegra/tegra20_spdif.c:361:24: warning: unused variable 'spdif' [-Wunused-variable]
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
sound/soc/tegra/tegra20_spdif.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c
index 66237bc44033..0809b1ec1171 100644
--- a/sound/soc/tegra/tegra20_spdif.c
+++ b/sound/soc/tegra/tegra20_spdif.c
@@ -358,8 +358,6 @@ err_pm_disable:
static int tegra20_spdif_platform_remove(struct platform_device *pdev)
{
- struct tegra20_spdif *spdif = dev_get_drvdata(&pdev->dev);
-
pm_runtime_disable(&pdev->dev);
if (!pm_runtime_status_suspended(&pdev->dev))
tegra20_spdif_runtime_suspend(&pdev->dev);
--
2.5.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-25 9:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-23 2:07 [PATCH] ASoC: tegra: Fix unused variable 'spdif' warning Axel Lin
2015-08-23 3:15 ` Vaishali Thakkar
2015-08-25 9:36 ` Applied "ASoC: tegra: Fix unused variable 'spdif' warning" to the asoc tree Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.