diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2017-01-05 07:07:27 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-05 07:34:38 -0500 |
commit | 80691c8f08b3b516df8833817dfdf15cfa1b9067 (patch) | |
tree | 303c21c8faf04f6796a5f3479c33bbc94774321a /sound | |
parent | a5de5b74a50113564a1e0850e2da96c37c35e55d (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/pxa/e740_wm9705.c | 3 | ||||
-rw-r--r-- | sound/soc/pxa/e750_wm9705.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/e800_wm9712.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/em-x270.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/mioa701_wm9713.c | 1 | ||||
-rw-r--r-- | sound/soc/pxa/palm27x.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-ac97.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-ac97.h | 17 | ||||
-rw-r--r-- | sound/soc/pxa/tosa.c | 2 | ||||
-rw-r--r-- | sound/soc/pxa/zylonite.c | 1 |
10 files changed, 0 insertions, 34 deletions
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 @@ | |||
22 | 22 | ||
23 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
24 | 24 | ||
25 | #include "pxa2xx-ac97.h" | ||
26 | |||
27 | |||
28 | #define E740_AUDIO_OUT 1 | 25 | #define E740_AUDIO_OUT 1 |
29 | #define E740_AUDIO_IN 2 | 26 | #define E740_AUDIO_IN 2 |
30 | 27 | ||
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 @@ | |||
22 | 22 | ||
23 | #include <asm/mach-types.h> | 23 | #include <asm/mach-types.h> |
24 | 24 | ||
25 | #include "pxa2xx-ac97.h" | ||
26 | |||
27 | static int e750_spk_amp_event(struct snd_soc_dapm_widget *w, | 25 | static int e750_spk_amp_event(struct snd_soc_dapm_widget *w, |
28 | struct snd_kcontrol *kcontrol, int event) | 26 | struct snd_kcontrol *kcontrol, int event) |
29 | { | 27 | { |
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 @@ | |||
21 | #include <mach/audio.h> | 21 | #include <mach/audio.h> |
22 | #include <mach/eseries-gpio.h> | 22 | #include <mach/eseries-gpio.h> |
23 | 23 | ||
24 | #include "pxa2xx-ac97.h" | ||
25 | |||
26 | static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, | 24 | static int e800_spk_amp_event(struct snd_soc_dapm_widget *w, |
27 | struct snd_kcontrol *kcontrol, int event) | 25 | struct snd_kcontrol *kcontrol, int event) |
28 | { | 26 | { |
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 @@ | |||
30 | #include <asm/mach-types.h> | 30 | #include <asm/mach-types.h> |
31 | #include <mach/audio.h> | 31 | #include <mach/audio.h> |
32 | 32 | ||
33 | #include "pxa2xx-ac97.h" | ||
34 | |||
35 | static struct snd_soc_dai_link em_x270_dai[] = { | 33 | static struct snd_soc_dai_link em_x270_dai[] = { |
36 | { | 34 | { |
37 | .name = "AC97", | 35 | .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 @@ | |||
53 | #include <sound/initval.h> | 53 | #include <sound/initval.h> |
54 | #include <sound/ac97_codec.h> | 54 | #include <sound/ac97_codec.h> |
55 | 55 | ||
56 | #include "pxa2xx-ac97.h" | ||
57 | #include "../codecs/wm9713.h" | 56 | #include "../codecs/wm9713.h" |
58 | 57 | ||
59 | #define AC97_GPIO_PULL 0x58 | 58 | #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 @@ | |||
27 | #include <mach/audio.h> | 27 | #include <mach/audio.h> |
28 | #include <linux/platform_data/asoc-palm27x.h> | 28 | #include <linux/platform_data/asoc-palm27x.h> |
29 | 29 | ||
30 | #include "pxa2xx-ac97.h" | ||
31 | |||
32 | static struct snd_soc_jack hs_jack; | 30 | static struct snd_soc_jack hs_jack; |
33 | 31 | ||
34 | /* Headphones jack detection DAPM pins */ | 32 | /* 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 @@ | |||
27 | #include <mach/regs-ac97.h> | 27 | #include <mach/regs-ac97.h> |
28 | #include <mach/audio.h> | 28 | #include <mach/audio.h> |
29 | 29 | ||
30 | #include "pxa2xx-ac97.h" | ||
31 | |||
32 | static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) | 30 | static void pxa2xx_ac97_warm_reset(struct snd_ac97 *ac97) |
33 | { | 31 | { |
34 | pxa2xx_ac97_try_warm_reset(ac97); | 32 | 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 @@ | |||
1 | /* | ||
2 | * linux/sound/soc/pxa/pxa2xx-ac97.h | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #ifndef _PXA2XX_AC97_H | ||
10 | #define _PXA2XX_AC97_H | ||
11 | |||
12 | /* pxa2xx DAI ID's */ | ||
13 | #define PXA2XX_DAI_AC97_HIFI 0 | ||
14 | #define PXA2XX_DAI_AC97_AUX 1 | ||
15 | #define PXA2XX_DAI_AC97_MIC 2 | ||
16 | |||
17 | #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 @@ | |||
31 | #include <mach/tosa.h> | 31 | #include <mach/tosa.h> |
32 | #include <mach/audio.h> | 32 | #include <mach/audio.h> |
33 | 33 | ||
34 | #include "pxa2xx-ac97.h" | ||
35 | |||
36 | #define TOSA_HP 0 | 34 | #define TOSA_HP 0 |
37 | #define TOSA_MIC_INT 1 | 35 | #define TOSA_MIC_INT 1 |
38 | #define TOSA_HEADSET 2 | 36 | #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 @@ | |||
22 | #include <sound/soc.h> | 22 | #include <sound/soc.h> |
23 | 23 | ||
24 | #include "../codecs/wm9713.h" | 24 | #include "../codecs/wm9713.h" |
25 | #include "pxa2xx-ac97.h" | ||
26 | #include "pxa-ssp.h" | 25 | #include "pxa-ssp.h" |
27 | 26 | ||
28 | /* | 27 | /* |