All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro
@ 2014-04-04  5:59 Sachin Kamat
  2014-04-04  5:59 ` [PATCH 2/6] ASoC: hdmi: Include of.h Sachin Kamat
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

Fixes the following compilation warnings:
sound/soc/codecs/pcm512x.c:520:12: warning: ‘pcm512x_suspend’ defined but not used [-Wunused-function]
sound/soc/codecs/pcm512x.c:545:12: warning: ‘pcm512x_resume’ defined but not used [-Wunused-function]

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/pcm512x.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/pcm512x.c b/sound/soc/codecs/pcm512x.c
index 4b4c0c7..5112420 100644
--- a/sound/soc/codecs/pcm512x.c
+++ b/sound/soc/codecs/pcm512x.c
@@ -517,6 +517,7 @@ void pcm512x_remove(struct device *dev)
 }
 EXPORT_SYMBOL_GPL(pcm512x_remove);
 
+#ifdef CONFIG_PM_RUNTIME
 static int pcm512x_suspend(struct device *dev)
 {
 	struct pcm512x_priv *pcm512x = dev_get_drvdata(dev);
@@ -578,6 +579,7 @@ static int pcm512x_resume(struct device *dev)
 
 	return 0;
 }
+#endif
 
 const struct dev_pm_ops pcm512x_pm_ops = {
 	SET_RUNTIME_PM_OPS(pcm512x_suspend, pcm512x_resume, NULL)
-- 
1.7.9.5

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/6] ASoC: hdmi: Include of.h
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
@ 2014-04-04  5:59 ` Sachin Kamat
  2014-04-14 19:34   ` Mark Brown
  2014-04-04  5:59 ` [PATCH 3/6] ASoC: max98090: " Sachin Kamat
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/hdmi.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/hdmi.c b/sound/soc/codecs/hdmi.c
index 9cb1c7d..1087fd5 100644
--- a/sound/soc/codecs/hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -20,6 +20,7 @@
  */
 #include <linux/module.h>
 #include <sound/soc.h>
+#include <linux/of.h>
 #include <linux/of_device.h>
 
 #define DRV_NAME "hdmi-audio-codec"
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 3/6] ASoC: max98090: Include of.h
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
  2014-04-04  5:59 ` [PATCH 2/6] ASoC: hdmi: Include of.h Sachin Kamat
@ 2014-04-04  5:59 ` Sachin Kamat
  2014-04-14 19:35   ` Mark Brown
  2014-04-04  5:59 ` [PATCH 4/6] ASoC: rt5640: " Sachin Kamat
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/max98090.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index f7b0b37..4959e76 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -11,6 +11,7 @@
 #include <linux/delay.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/pm.h>
 #include <linux/pm_runtime.h>
 #include <linux/regmap.h>
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 4/6] ASoC: rt5640: Include of.h
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
  2014-04-04  5:59 ` [PATCH 2/6] ASoC: hdmi: Include of.h Sachin Kamat
  2014-04-04  5:59 ` [PATCH 3/6] ASoC: max98090: " Sachin Kamat
@ 2014-04-04  5:59 ` Sachin Kamat
  2014-04-14 19:35   ` Mark Brown
  2014-04-04  5:59 ` [PATCH 5/6] ASoC: tlv320aic23: " Sachin Kamat
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/rt5640.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/rt5640.c b/sound/soc/codecs/rt5640.c
index 68b4dd6..635363c 100644
--- a/sound/soc/codecs/rt5640.c
+++ b/sound/soc/codecs/rt5640.c
@@ -18,6 +18,7 @@
 #include <linux/gpio.h>
 #include <linux/i2c.h>
 #include <linux/regmap.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 5/6] ASoC: tlv320aic23: Include of.h
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
                   ` (2 preceding siblings ...)
  2014-04-04  5:59 ` [PATCH 4/6] ASoC: rt5640: " Sachin Kamat
@ 2014-04-04  5:59 ` Sachin Kamat
  2014-04-14 19:35   ` Mark Brown
  2014-04-04  5:59 ` [PATCH 6/6] ASoC: tpa6130a2: " Sachin Kamat
  2014-04-14 19:32 ` [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Mark Brown
  5 siblings, 1 reply; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/tlv320aic23-i2c.c |    1 +
 sound/soc/codecs/tlv320aic31xx.c   |    1 +
 2 files changed, 2 insertions(+)

diff --git a/sound/soc/codecs/tlv320aic23-i2c.c b/sound/soc/codecs/tlv320aic23-i2c.c
index b73c94e..f137019 100644
--- a/sound/soc/codecs/tlv320aic23-i2c.c
+++ b/sound/soc/codecs/tlv320aic23-i2c.c
@@ -13,6 +13,7 @@
 
 #include <linux/i2c.h>
 #include <linux/module.h>
+#include <linux/of.h>
 #include <linux/regmap.h>
 #include <sound/soc.h>
 
diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c
index fa158cf..b93d500 100644
--- a/sound/soc/codecs/tlv320aic31xx.c
+++ b/sound/soc/codecs/tlv320aic31xx.c
@@ -28,6 +28,7 @@
 #include <linux/i2c.h>
 #include <linux/gpio.h>
 #include <linux/regulator/consumer.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 #include <linux/slab.h>
 #include <sound/core.h>
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 6/6] ASoC: tpa6130a2: Include of.h
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
                   ` (3 preceding siblings ...)
  2014-04-04  5:59 ` [PATCH 5/6] ASoC: tlv320aic23: " Sachin Kamat
@ 2014-04-04  5:59 ` Sachin Kamat
  2014-04-14 19:35   ` Mark Brown
  2014-04-14 19:32 ` [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Mark Brown
  5 siblings, 1 reply; 12+ messages in thread
From: Sachin Kamat @ 2014-04-04  5:59 UTC (permalink / raw)
  To: alsa-devel; +Cc: sachin.kamat, broonie, lgirdwood

of_match_ptr is defined in of.h. Include it explicitly.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 sound/soc/codecs/tpa6130a2.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c
index b27c396..8fc5a64 100644
--- a/sound/soc/codecs/tpa6130a2.c
+++ b/sound/soc/codecs/tpa6130a2.c
@@ -30,6 +30,7 @@
 #include <sound/tpa6130a2-plat.h>
 #include <sound/soc.h>
 #include <sound/tlv.h>
+#include <linux/of.h>
 #include <linux/of_gpio.h>
 
 #include "tpa6130a2.h"
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro
  2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
                   ` (4 preceding siblings ...)
  2014-04-04  5:59 ` [PATCH 6/6] ASoC: tpa6130a2: " Sachin Kamat
@ 2014-04-14 19:32 ` Mark Brown
  5 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:32 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 347 bytes --]

On Fri, Apr 04, 2014 at 11:29:08AM +0530, Sachin Kamat wrote:
> Fixes the following compilation warnings:
> sound/soc/codecs/pcm512x.c:520:12: warning: ‘pcm512x_suspend’ defined but not used [-Wunused-function]
> sound/soc/codecs/pcm512x.c:545:12: warning: ‘pcm512x_resume’ defined but not used [-Wunused-function]

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 2/6] ASoC: hdmi: Include of.h
  2014-04-04  5:59 ` [PATCH 2/6] ASoC: hdmi: Include of.h Sachin Kamat
@ 2014-04-14 19:34   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:34 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

On Fri, Apr 04, 2014 at 11:29:09AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/6] ASoC: max98090: Include of.h
  2014-04-04  5:59 ` [PATCH 3/6] ASoC: max98090: " Sachin Kamat
@ 2014-04-14 19:35   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:35 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

On Fri, Apr 04, 2014 at 11:29:10AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 4/6] ASoC: rt5640: Include of.h
  2014-04-04  5:59 ` [PATCH 4/6] ASoC: rt5640: " Sachin Kamat
@ 2014-04-14 19:35   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:35 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

On Fri, Apr 04, 2014 at 11:29:11AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 5/6] ASoC: tlv320aic23: Include of.h
  2014-04-04  5:59 ` [PATCH 5/6] ASoC: tlv320aic23: " Sachin Kamat
@ 2014-04-14 19:35   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:35 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

On Fri, Apr 04, 2014 at 11:29:12AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 6/6] ASoC: tpa6130a2: Include of.h
  2014-04-04  5:59 ` [PATCH 6/6] ASoC: tpa6130a2: " Sachin Kamat
@ 2014-04-14 19:35   ` Mark Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Mark Brown @ 2014-04-14 19:35 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: alsa-devel, lgirdwood


[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]

On Fri, Apr 04, 2014 at 11:29:13AM +0530, Sachin Kamat wrote:
> of_match_ptr is defined in of.h. Include it explicitly.

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-04-14 19:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04  5:59 [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro Sachin Kamat
2014-04-04  5:59 ` [PATCH 2/6] ASoC: hdmi: Include of.h Sachin Kamat
2014-04-14 19:34   ` Mark Brown
2014-04-04  5:59 ` [PATCH 3/6] ASoC: max98090: " Sachin Kamat
2014-04-14 19:35   ` Mark Brown
2014-04-04  5:59 ` [PATCH 4/6] ASoC: rt5640: " Sachin Kamat
2014-04-14 19:35   ` Mark Brown
2014-04-04  5:59 ` [PATCH 5/6] ASoC: tlv320aic23: " Sachin Kamat
2014-04-14 19:35   ` Mark Brown
2014-04-04  5:59 ` [PATCH 6/6] ASoC: tpa6130a2: " Sachin Kamat
2014-04-14 19:35   ` Mark Brown
2014-04-14 19:32 ` [PATCH 1/6] ASoC: pcm512x: Use CONFIG_PM_RUNTIME macro 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.