All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines
@ 2016-10-15 17:32 Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

This also means the wm9705.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm9705.c   |  2 --
 sound/soc/codecs/wm9705.h   | 11 -----------
 sound/soc/pxa/e740_wm9705.c |  1 -
 sound/soc/pxa/e750_wm9705.c |  1 -
 4 files changed, 15 deletions(-)
 delete mode 100644 sound/soc/codecs/wm9705.h

diff --git a/sound/soc/codecs/wm9705.c b/sound/soc/codecs/wm9705.c
index dcdd055..266b6ec 100644
--- a/sound/soc/codecs/wm9705.c
+++ b/sound/soc/codecs/wm9705.c
@@ -20,8 +20,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 
-#include "wm9705.h"
-
 #define WM9705_VENDOR_ID 0x574d4c05
 #define WM9705_VENDOR_ID_MASK 0xffffffff
 
diff --git a/sound/soc/codecs/wm9705.h b/sound/soc/codecs/wm9705.h
deleted file mode 100644
index 23ea9ce..0000000
--- a/sound/soc/codecs/wm9705.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * wm9705.h  --  WM9705 Soc Audio driver
- */
-
-#ifndef _WM9705_H
-#define _WM9705_H
-
-#define WM9705_DAI_AC97_HIFI	0
-#define WM9705_DAI_AC97_AUX	1
-
-#endif
diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c
index 1de8765..086c37a 100644
--- a/sound/soc/pxa/e740_wm9705.c
+++ b/sound/soc/pxa/e740_wm9705.c
@@ -22,7 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "../codecs/wm9705.h"
 #include "pxa2xx-ac97.h"
 
 
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index b7eb7cd..7823278 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -22,7 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "../codecs/wm9705.h"
 #include "pxa2xx-ac97.h"
 
 static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
-- 
2.1.4

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

* [PATCH 2/7] ASoC: wm9712: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-17 10:49   ` Charles Keepax
  2016-10-15 17:32 ` [PATCH 3/7] ASoC: wm9713: " Lars-Peter Clausen
                   ` (5 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

This also means the wm9712.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm9712.c   |  1 -
 sound/soc/codecs/wm9712.h   | 11 -----------
 sound/soc/pxa/e800_wm9712.c |  1 -
 sound/soc/pxa/em-x270.c     |  1 -
 sound/soc/pxa/palm27x.c     |  1 -
 sound/soc/pxa/tosa.c        |  1 -
 6 files changed, 16 deletions(-)
 delete mode 100644 sound/soc/codecs/wm9712.h

diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 557709e..034879e 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -21,7 +21,6 @@
 #include <sound/initval.h>
 #include <sound/soc.h>
 #include <sound/tlv.h>
-#include "wm9712.h"
 
 #define WM9712_VENDOR_ID 0x574d4c12
 #define WM9712_VENDOR_ID_MASK 0xffffffff
diff --git a/sound/soc/codecs/wm9712.h b/sound/soc/codecs/wm9712.h
deleted file mode 100644
index fb69c3a..0000000
--- a/sound/soc/codecs/wm9712.h
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- * wm9712.h  --  WM9712 Soc Audio driver
- */
-
-#ifndef _WM9712_H
-#define _WM9712_H
-
-#define WM9712_DAI_AC97_HIFI	0
-#define WM9712_DAI_AC97_AUX		1
-
-#endif
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index 41bf714..07b9c6e 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -21,7 +21,6 @@
 #include <mach/audio.h>
 #include <mach/eseries-gpio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
diff --git a/sound/soc/pxa/em-x270.c b/sound/soc/pxa/em-x270.c
index 64743a0..966163d 100644
--- a/sound/soc/pxa/em-x270.c
+++ b/sound/soc/pxa/em-x270.c
@@ -30,7 +30,6 @@
 #include <asm/mach-types.h>
 #include <mach/audio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static struct snd_soc_dai_link em_x270_dai[] = {
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c
index bcc81e9..387492d 100644
--- a/sound/soc/pxa/palm27x.c
+++ b/sound/soc/pxa/palm27x.c
@@ -27,7 +27,6 @@
 #include <mach/audio.h>
 #include <linux/platform_data/asoc-palm27x.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 static struct snd_soc_jack hs_jack;
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index c508f02..daed981 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -31,7 +31,6 @@
 #include <mach/tosa.h>
 #include <mach/audio.h>
 
-#include "../codecs/wm9712.h"
 #include "pxa2xx-ac97.h"
 
 #define TOSA_HP        0
-- 
2.1.4

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

* [PATCH 3/7] ASoC: wm9713: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-17 10:49   ` Charles Keepax
  2016-10-15 17:32 ` [PATCH 4/7] ASoC: wm8753: " Lars-Peter Clausen
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm9713.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sound/soc/codecs/wm9713.h b/sound/soc/codecs/wm9713.h
index 53df11b..7ecffc5 100644
--- a/sound/soc/codecs/wm9713.h
+++ b/sound/soc/codecs/wm9713.h
@@ -41,8 +41,4 @@
 #define WM9713_PCMBCLK_DIV_8	(3 << 9)
 #define WM9713_PCMBCLK_DIV_16	(4 << 9)
 
-#define WM9713_DAI_AC97_HIFI	0
-#define WM9713_DAI_AC97_AUX		1
-#define WM9713_DAI_PCM_VOICE	2
-
 #endif
-- 
2.1.4

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

* [PATCH 4/7] ASoC: wm8753: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 3/7] ASoC: wm9713: " Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-17 10:50   ` Charles Keepax
  2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. These particular IDs were never used and presumably
never will be, so remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/codecs/wm8753.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/codecs/wm8753.h b/sound/soc/codecs/wm8753.h
index 94edac1..8b39e36 100644
--- a/sound/soc/codecs/wm8753.h
+++ b/sound/soc/codecs/wm8753.h
@@ -112,7 +112,4 @@
 #define WM8753_VXCLK_DIV_8	(3 << 6)
 #define WM8753_VXCLK_DIV_16	(4 << 6)
 
-#define WM8753_DAI_HIFI		0
-#define WM8753_DAI_VOICE		1
-
 #endif
-- 
2.1.4

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

* [PATCH 5/7] ASoC: pxa2xx-ac97: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
                   ` (2 preceding siblings ...)
  2016-10-15 17:32 ` [PATCH 4/7] ASoC: wm8753: " Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-16 18:57   ` Robert Jarzmik
                     ` (2 more replies)
  2016-10-15 17:32 ` [PATCH 6/7] ASoC: pxa2xx-i2s: Remove unused DAI ID defines Lars-Peter Clausen
                   ` (2 subsequent siblings)
  6 siblings, 3 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

This also means the pxa2xx-ac97.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/pxa/e740_wm9705.c    |  3 ---
 sound/soc/pxa/e750_wm9705.c    |  2 --
 sound/soc/pxa/e800_wm9712.c    |  2 --
 sound/soc/pxa/em-x270.c        |  2 --
 sound/soc/pxa/mioa701_wm9713.c |  1 -
 sound/soc/pxa/palm27x.c        |  2 --
 sound/soc/pxa/pxa2xx-ac97.c    |  2 --
 sound/soc/pxa/pxa2xx-ac97.h    | 17 -----------------
 sound/soc/pxa/tosa.c           |  2 --
 sound/soc/pxa/zylonite.c       |  1 -
 10 files changed, 34 deletions(-)
 delete mode 100644 sound/soc/pxa/pxa2xx-ac97.h

diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c
index 086c37a..8ab7032 100644
--- a/sound/soc/pxa/e740_wm9705.c
+++ b/sound/soc/pxa/e740_wm9705.c
@@ -22,9 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
-
 #define E740_AUDIO_OUT 1
 #define E740_AUDIO_IN  2
 
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index 7823278..fdcd94a 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -22,8 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
 				struct snd_kcontrol *kcontrol, int event)
 {
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index 07b9c6e..2df714f 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -21,8 +21,6 @@
 #include <mach/audio.h>
 #include <mach/eseries-gpio.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
 				struct snd_kcontrol *kcontrol, int event)
 {
diff --git a/sound/soc/pxa/em-x270.c b/sound/soc/pxa/em-x270.c
index 966163d..6f2020f 100644
--- a/sound/soc/pxa/em-x270.c
+++ b/sound/soc/pxa/em-x270.c
@@ -30,8 +30,6 @@
 #include <asm/mach-types.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_dai_link em_x270_dai[] = {
 	{
 		.name = "AC97",
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c
index d1661fa..96c0b19 100644
--- a/sound/soc/pxa/mioa701_wm9713.c
+++ b/sound/soc/pxa/mioa701_wm9713.c
@@ -53,7 +53,6 @@
 #include <sound/initval.h>
 #include <sound/ac97_codec.h>
 
-#include "pxa2xx-ac97.h"
 #include "../codecs/wm9713.h"
 
 #define AC97_GPIO_PULL		0x58
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c
index 387492d..9716704 100644
--- a/sound/soc/pxa/palm27x.c
+++ b/sound/soc/pxa/palm27x.c
@@ -27,8 +27,6 @@
 #include <mach/audio.h>
 #include <linux/platform_data/asoc-palm27x.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_jack hs_jack;
 
 /* Headphones jack detection DAPM pins */
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 9615e6d..2e2fb18 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -27,8 +27,6 @@
 #include <mach/regs-ac97.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97)
 {
 	pxa2xx_ac97_try_warm_reset(ac97);
diff --git a/sound/soc/pxa/pxa2xx-ac97.h b/sound/soc/pxa/pxa2xx-ac97.h
deleted file mode 100644
index a49c21b..0000000
--- a/sound/soc/pxa/pxa2xx-ac97.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * linux/sound/soc/pxa/pxa2xx-ac97.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _PXA2XX_AC97_H
-#define _PXA2XX_AC97_H
-
-/* pxa2xx DAI ID's */
-#define PXA2XX_DAI_AC97_HIFI	0
-#define PXA2XX_DAI_AC97_AUX		1
-#define PXA2XX_DAI_AC97_MIC		2
-
-#endif
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index daed981..6e895c3 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -31,8 +31,6 @@
 #include <mach/tosa.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 #define TOSA_HP        0
 #define TOSA_MIC_INT   1
 #define TOSA_HEADSET   2
diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c
index 8f301c7..6fbcdf0 100644
--- a/sound/soc/pxa/zylonite.c
+++ b/sound/soc/pxa/zylonite.c
@@ -22,7 +22,6 @@
 #include <sound/soc.h>
 
 #include "../codecs/wm9713.h"
-#include "pxa2xx-ac97.h"
 #include "pxa-ssp.h"
 
 /*
-- 
2.1.4

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

* [PATCH 6/7] ASoC: pxa2xx-i2s: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
                   ` (3 preceding siblings ...)
  2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-15 17:32 ` [PATCH 7/7] ASoC: pxa-ssp: " Lars-Peter Clausen
  2016-10-17 10:49 ` [PATCH 1/7] ASoC: wm9705: " Charles Keepax
  6 siblings, 0 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. This particular ID was never used and presumably never
will be, so remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/pxa/pxa2xx-i2s.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/pxa/pxa2xx-i2s.h b/sound/soc/pxa/pxa2xx-i2s.h
index 070f3c6..7e218e2 100644
--- a/sound/soc/pxa/pxa2xx-i2s.h
+++ b/sound/soc/pxa/pxa2xx-i2s.h
@@ -9,9 +9,6 @@
 #ifndef _PXA2XX_I2S_H
 #define _PXA2XX_I2S_H
 
-/* pxa2xx DAI ID's */
-#define PXA2XX_DAI_I2S			0
-
 /* I2S clock */
 #define PXA2XX_I2S_SYSCLK		0
 
-- 
2.1.4

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

* [PATCH 7/7] ASoC: pxa-ssp: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
                   ` (4 preceding siblings ...)
  2016-10-15 17:32 ` [PATCH 6/7] ASoC: pxa2xx-i2s: Remove unused DAI ID defines Lars-Peter Clausen
@ 2016-10-15 17:32 ` Lars-Peter Clausen
  2016-10-17 10:49 ` [PATCH 1/7] ASoC: wm9705: " Charles Keepax
  6 siblings, 0 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-15 17:32 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood
  Cc: Charles Keepax, patches, Robert Jarzmik, alsa-devel, Lars-Peter Clausen

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used for matching instead and the
defines are unused. The last user of these defines was removed in commit
f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
remove the defines as well.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/pxa/pxa-ssp.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/sound/soc/pxa/pxa-ssp.h b/sound/soc/pxa/pxa-ssp.h
index bc79da2..abf6ec0 100644
--- a/sound/soc/pxa/pxa-ssp.h
+++ b/sound/soc/pxa/pxa-ssp.h
@@ -9,12 +9,6 @@
 #ifndef _PXA_SSP_H
 #define _PXA_SSP_H
 
-/* pxa DAI SSP IDs */
-#define PXA_DAI_SSP1			0
-#define PXA_DAI_SSP2			1
-#define PXA_DAI_SSP3			2
-#define PXA_DAI_SSP4			3
-
 /* SSP clock sources */
 #define PXA_SSP_CLK_PLL	0
 #define PXA_SSP_CLK_EXT	1
-- 
2.1.4

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

* Re: [PATCH 5/7] ASoC: pxa2xx-ac97: Remove unused DAI ID defines
  2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
@ 2016-10-16 18:57   ` Robert Jarzmik
       [not found]   ` <20161024173947.GM17252@sirena.org.uk>
  2017-01-06 18:16   ` Applied "ASoC: pxa2xx-ac97: Remove unused DAI ID defines" to the asoc tree Mark Brown
  2 siblings, 0 replies; 15+ messages in thread
From: Robert Jarzmik @ 2016-10-16 18:57 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: Charles Keepax, Mark Brown, Liam Girdwood, alsa-devel, patches

Lars-Peter Clausen <lars@metafoo.de> writes:

> The DAI ID defines are back from the time when DAIs were referenced by a
> numerical ID. These days a string is used for matching instead and the
> defines are unused. The last user of these defines was removed in commit
> f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
> remove the defines as well.
>
> This also means the pxa2xx-ac97.h file no longer has any content and can be
> removed.
>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
For pxa related files:
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>

And with mioa701_wm9713.c:
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

--
Robert

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

* Re: [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines
  2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
                   ` (5 preceding siblings ...)
  2016-10-15 17:32 ` [PATCH 7/7] ASoC: pxa-ssp: " Lars-Peter Clausen
@ 2016-10-17 10:49 ` Charles Keepax
  6 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2016-10-17 10:49 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel, Mark Brown, Robert Jarzmik, Liam Girdwood, patches

On Sat, Oct 15, 2016 at 07:32:51PM +0200, Lars-Peter Clausen wrote:
> The DAI ID defines are back from the time when DAIs were referenced by a
> numerical ID. These days a string is used for matching instead and the
> defines are unused. The last user of these defines was removed in commit
> f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
> remove the defines as well.
> 
> This also means the wm9705.h file no longer has any content and can be
> removed.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

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

* Re: [PATCH 2/7] ASoC: wm9712: Remove unused DAI ID defines
  2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
@ 2016-10-17 10:49   ` Charles Keepax
  0 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2016-10-17 10:49 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel, Mark Brown, Robert Jarzmik, Liam Girdwood, patches

On Sat, Oct 15, 2016 at 07:32:52PM +0200, Lars-Peter Clausen wrote:
> The DAI ID defines are back from the time when DAIs were referenced by a
> numerical ID. These days a string is used for matching instead and the
> defines are unused. The last user of these defines was removed in commit
> f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
> remove the defines as well.
> 
> This also means the wm9712.h file no longer has any content and can be
> removed.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

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

* Re: [PATCH 3/7] ASoC: wm9713: Remove unused DAI ID defines
  2016-10-15 17:32 ` [PATCH 3/7] ASoC: wm9713: " Lars-Peter Clausen
@ 2016-10-17 10:49   ` Charles Keepax
  0 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2016-10-17 10:49 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel, Mark Brown, Robert Jarzmik, Liam Girdwood, patches

On Sat, Oct 15, 2016 at 07:32:53PM +0200, Lars-Peter Clausen wrote:
> The DAI ID defines are back from the time when DAIs were referenced by a
> numerical ID. These days a string is used for matching instead and the
> defines are unused. The last user of these defines was removed in commit
> f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
> remove the defines as well.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

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

* Re: [PATCH 4/7] ASoC: wm8753: Remove unused DAI ID defines
  2016-10-15 17:32 ` [PATCH 4/7] ASoC: wm8753: " Lars-Peter Clausen
@ 2016-10-17 10:50   ` Charles Keepax
  0 siblings, 0 replies; 15+ messages in thread
From: Charles Keepax @ 2016-10-17 10:50 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel, Mark Brown, Robert Jarzmik, Liam Girdwood, patches

On Sat, Oct 15, 2016 at 07:32:54PM +0200, Lars-Peter Clausen wrote:
> The DAI ID defines are back from the time when DAIs were referenced by a
> numerical ID. These days a string is used for matching instead and the
> defines are unused. These particular IDs were never used and presumably
> never will be, so remove them.
> 
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

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

* Re: [PATCH 5/7] ASoC: pxa2xx-ac97: Remove unused DAI ID defines
       [not found]   ` <20161024173947.GM17252@sirena.org.uk>
@ 2016-10-24 18:17     ` Lars-Peter Clausen
       [not found]       ` <20161024182120.GQ17252@sirena.org.uk>
  0 siblings, 1 reply; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-24 18:17 UTC (permalink / raw)
  To: Mark Brown
  Cc: Charles Keepax, patches, Robert Jarzmik, Liam Girdwood, alsa-devel

On 10/24/2016 07:39 PM, Mark Brown wrote:
> On Sat, Oct 15, 2016 at 07:32:55PM +0200, Lars-Peter Clausen wrote:
>> The DAI ID defines are back from the time when DAIs were referenced by a
>> numerical ID. These days a string is used for matching instead and the
>> defines are unused. The last user of these defines was removed in commit
>> f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So
>> remove the defines as well.
> 
> This doesn't apply against current code, please check and resend.

It depends on the other earlier patches in this series. But I'll resend
after the next merge window, this is not urgent.

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

* Re: [PATCH 5/7] ASoC: pxa2xx-ac97: Remove unused DAI ID defines
       [not found]       ` <20161024182120.GQ17252@sirena.org.uk>
@ 2016-10-24 18:27         ` Lars-Peter Clausen
  0 siblings, 0 replies; 15+ messages in thread
From: Lars-Peter Clausen @ 2016-10-24 18:27 UTC (permalink / raw)
  To: Mark Brown
  Cc: Charles Keepax, patches, Robert Jarzmik, Liam Girdwood, alsa-devel

On 10/24/2016 08:21 PM, Mark Brown wrote:
> On Mon, Oct 24, 2016 at 08:17:28PM +0200, Lars-Peter Clausen wrote:
>> On 10/24/2016 07:39 PM, Mark Brown wrote:
> 
>>> This doesn't apply against current code, please check and resend.
> 
>> It depends on the other earlier patches in this series. But I'll resend
>> after the next merge window, this is not urgent.
> 
> Ugh, which breaks because they got applied on topic branches :/  

Yeah, it has been like this for a few years now, it can wait another 6 weeks.

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

* Applied "ASoC: pxa2xx-ac97: Remove unused DAI ID defines" to the asoc tree
  2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
  2016-10-16 18:57   ` Robert Jarzmik
       [not found]   ` <20161024173947.GM17252@sirena.org.uk>
@ 2017-01-06 18:16   ` Mark Brown
  2 siblings, 0 replies; 15+ messages in thread
From: Mark Brown @ 2017-01-06 18:16 UTC (permalink / raw)
  To: Lars-Peter Clausen
  Cc: alsa-devel, patches, Liam Girdwood, Mark Brown, Charles Keepax,
	Robert Jarzmik

The patch

   ASoC: pxa2xx-ac97: Remove unused DAI ID defines

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 80691c8f08b3b516df8833817dfdf15cfa1b9067 Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu, 5 Jan 2017 13:07:27 +0100
Subject: [PATCH] ASoC: pxa2xx-ac97: Remove unused DAI ID defines

The DAI ID defines are back from the time when DAIs were referenced by a
numerical ID. These days a string is used instead and the defines are
unused. The last user of these defines was removed in commit f0fba2ad1b6b
("ASoC: multi-component - ASoC Multi-Component Support"). So remove the
defines as well.

This also means the pxa2xx-ac97.h file no longer has any content and can be
removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> (for mioa701_wm9713)
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/pxa/e740_wm9705.c    |  3 ---
 sound/soc/pxa/e750_wm9705.c    |  2 --
 sound/soc/pxa/e800_wm9712.c    |  2 --
 sound/soc/pxa/em-x270.c        |  2 --
 sound/soc/pxa/mioa701_wm9713.c |  1 -
 sound/soc/pxa/palm27x.c        |  2 --
 sound/soc/pxa/pxa2xx-ac97.c    |  2 --
 sound/soc/pxa/pxa2xx-ac97.h    | 17 -----------------
 sound/soc/pxa/tosa.c           |  2 --
 sound/soc/pxa/zylonite.c       |  1 -
 10 files changed, 34 deletions(-)
 delete mode 100644 sound/soc/pxa/pxa2xx-ac97.h

diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c
index 086c37a85630..8ab7032631b7 100644
--- a/sound/soc/pxa/e740_wm9705.c
+++ b/sound/soc/pxa/e740_wm9705.c
@@ -22,9 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
-
 #define E740_AUDIO_OUT 1
 #define E740_AUDIO_IN  2
 
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index 7823278012a6..fdcd94adee7c 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -22,8 +22,6 @@
 
 #include <asm/mach-types.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
 				struct snd_kcontrol *kcontrol, int event)
 {
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index 07b9c6e17df9..2df714f70ec0 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -21,8 +21,6 @@
 #include <mach/audio.h>
 #include <mach/eseries-gpio.h>
 
-#include "pxa2xx-ac97.h"
-
 static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
 				struct snd_kcontrol *kcontrol, int event)
 {
diff --git a/sound/soc/pxa/em-x270.c b/sound/soc/pxa/em-x270.c
index 966163d1c813..6f2020f6c8d3 100644
--- a/sound/soc/pxa/em-x270.c
+++ b/sound/soc/pxa/em-x270.c
@@ -30,8 +30,6 @@
 #include <asm/mach-types.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_dai_link em_x270_dai[] = {
 	{
 		.name = "AC97",
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c
index 0fe0abec8fc4..8760a6687885 100644
--- a/sound/soc/pxa/mioa701_wm9713.c
+++ b/sound/soc/pxa/mioa701_wm9713.c
@@ -53,7 +53,6 @@
 #include <sound/initval.h>
 #include <sound/ac97_codec.h>
 
-#include "pxa2xx-ac97.h"
 #include "../codecs/wm9713.h"
 
 #define AC97_GPIO_PULL		0x58
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c
index 387492d46b6c..97167048572d 100644
--- a/sound/soc/pxa/palm27x.c
+++ b/sound/soc/pxa/palm27x.c
@@ -27,8 +27,6 @@
 #include <mach/audio.h>
 #include <linux/platform_data/asoc-palm27x.h>
 
-#include "pxa2xx-ac97.h"
-
 static struct snd_soc_jack hs_jack;
 
 /* Headphones jack detection DAPM pins */
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 9615e6de1306..2e2fb1838ec2 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -27,8 +27,6 @@
 #include <mach/regs-ac97.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97)
 {
 	pxa2xx_ac97_try_warm_reset(ac97);
diff --git a/sound/soc/pxa/pxa2xx-ac97.h b/sound/soc/pxa/pxa2xx-ac97.h
deleted file mode 100644
index a49c21ba3842..000000000000
--- a/sound/soc/pxa/pxa2xx-ac97.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * linux/sound/soc/pxa/pxa2xx-ac97.h
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _PXA2XX_AC97_H
-#define _PXA2XX_AC97_H
-
-/* pxa2xx DAI ID's */
-#define PXA2XX_DAI_AC97_HIFI	0
-#define PXA2XX_DAI_AC97_AUX		1
-#define PXA2XX_DAI_AC97_MIC		2
-
-#endif
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index 2e312c62e3c7..e022b2a777f6 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -31,8 +31,6 @@
 #include <mach/tosa.h>
 #include <mach/audio.h>
 
-#include "pxa2xx-ac97.h"
-
 #define TOSA_HP        0
 #define TOSA_MIC_INT   1
 #define TOSA_HEADSET   2
diff --git a/sound/soc/pxa/zylonite.c b/sound/soc/pxa/zylonite.c
index 8f301c72ee5e..6fbcdf02c88d 100644
--- a/sound/soc/pxa/zylonite.c
+++ b/sound/soc/pxa/zylonite.c
@@ -22,7 +22,6 @@
 #include <sound/soc.h>
 
 #include "../codecs/wm9713.h"
-#include "pxa2xx-ac97.h"
 #include "pxa-ssp.h"
 
 /*
-- 
2.11.0

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

end of thread, other threads:[~2017-01-06 18:17 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-15 17:32 [PATCH 1/7] ASoC: wm9705: Remove unused DAI ID defines Lars-Peter Clausen
2016-10-15 17:32 ` [PATCH 2/7] ASoC: wm9712: " Lars-Peter Clausen
2016-10-17 10:49   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 3/7] ASoC: wm9713: " Lars-Peter Clausen
2016-10-17 10:49   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 4/7] ASoC: wm8753: " Lars-Peter Clausen
2016-10-17 10:50   ` Charles Keepax
2016-10-15 17:32 ` [PATCH 5/7] ASoC: pxa2xx-ac97: " Lars-Peter Clausen
2016-10-16 18:57   ` Robert Jarzmik
     [not found]   ` <20161024173947.GM17252@sirena.org.uk>
2016-10-24 18:17     ` Lars-Peter Clausen
     [not found]       ` <20161024182120.GQ17252@sirena.org.uk>
2016-10-24 18:27         ` Lars-Peter Clausen
2017-01-06 18:16   ` Applied "ASoC: pxa2xx-ac97: Remove unused DAI ID defines" to the asoc tree Mark Brown
2016-10-15 17:32 ` [PATCH 6/7] ASoC: pxa2xx-i2s: Remove unused DAI ID defines Lars-Peter Clausen
2016-10-15 17:32 ` [PATCH 7/7] ASoC: pxa-ssp: " Lars-Peter Clausen
2016-10-17 10:49 ` [PATCH 1/7] ASoC: wm9705: " Charles Keepax

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.