diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2010-08-07 12:06:07 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-08-10 10:43:45 -0400 |
commit | 2e2211a387e70c62e1249822a94f4a33933ecd62 (patch) | |
tree | 8676de3c64f33e9e7a3b2d8b1327e550e21e255a | |
parent | ac770267a7cd85a747b6111db46f66d1515e7cd7 (diff) |
ASoC: add AD1980 obsolete information
This codec has been obsoleted by ADI, so add appropriate warnings to the
source tree to dissuade people from using in new designs based on driver
support.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/blackfin/Kconfig | 7 | ||||
-rw-r--r-- | sound/soc/blackfin/bf5xx-ad1980.c | 10 | ||||
-rw-r--r-- | sound/soc/codecs/ad1980.c | 10 | ||||
-rw-r--r-- | sound/soc/codecs/ad1980.h | 6 |
4 files changed, 30 insertions, 3 deletions
diff --git a/sound/soc/blackfin/Kconfig b/sound/soc/blackfin/Kconfig index 8ef25025f3dc..3abeeddc67d3 100644 --- a/sound/soc/blackfin/Kconfig +++ b/sound/soc/blackfin/Kconfig | |||
@@ -105,13 +105,18 @@ config SND_BF5XX_RESET_GPIO_NUM | |||
105 | Set the correct GPIO for RESET the sound chip. | 105 | Set the correct GPIO for RESET the sound chip. |
106 | 106 | ||
107 | config SND_BF5XX_SOC_AD1980 | 107 | config SND_BF5XX_SOC_AD1980 |
108 | tristate "SoC AD1980/1 Audio support for BF5xx" | 108 | tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)" |
109 | depends on SND_BF5XX_AC97 | 109 | depends on SND_BF5XX_AC97 |
110 | select SND_BF5XX_SOC_AC97 | 110 | select SND_BF5XX_SOC_AC97 |
111 | select SND_SOC_AD1980 | 111 | select SND_SOC_AD1980 |
112 | help | 112 | help |
113 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. | 113 | Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. |
114 | 114 | ||
115 | Warning: | ||
116 | Because Analog Devices Inc. discontinued the ad1980 sound chip since | ||
117 | Sep. 2009, this ad1980 driver is not maintained, tested and supported | ||
118 | by ADI now. | ||
119 | |||
115 | config SND_BF5XX_SOC_SPORT | 120 | config SND_BF5XX_SOC_SPORT |
116 | tristate | 121 | tristate |
117 | 122 | ||
diff --git a/sound/soc/blackfin/bf5xx-ad1980.c b/sound/soc/blackfin/bf5xx-ad1980.c index d8f591273778..92f7c327bb7a 100644 --- a/sound/soc/blackfin/bf5xx-ad1980.c +++ b/sound/soc/blackfin/bf5xx-ad1980.c | |||
@@ -26,6 +26,14 @@ | |||
26 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 26 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
27 | */ | 27 | */ |
28 | 28 | ||
29 | /* | ||
30 | * WARNING: | ||
31 | * | ||
32 | * Because Analog Devices Inc. discontinued the ad1980 sound chip since | ||
33 | * Sep. 2009, this ad1980 driver is not maintained, tested and supported | ||
34 | * by ADI now. | ||
35 | */ | ||
36 | |||
29 | #include <linux/module.h> | 37 | #include <linux/module.h> |
30 | #include <linux/moduleparam.h> | 38 | #include <linux/moduleparam.h> |
31 | #include <linux/device.h> | 39 | #include <linux/device.h> |
@@ -109,5 +117,5 @@ module_exit(bf5xx_board_exit); | |||
109 | 117 | ||
110 | /* Module information */ | 118 | /* Module information */ |
111 | MODULE_AUTHOR("Cliff Cai"); | 119 | MODULE_AUTHOR("Cliff Cai"); |
112 | MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board"); | 120 | MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board (Obsolete)"); |
113 | MODULE_LICENSE("GPL"); | 121 | MODULE_LICENSE("GPL"); |
diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c index 042072738cdc..70cfaec3be2c 100644 --- a/sound/soc/codecs/ad1980.c +++ b/sound/soc/codecs/ad1980.c | |||
@@ -11,6 +11,14 @@ | |||
11 | * option) any later version. | 11 | * option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | /* | ||
15 | * WARNING: | ||
16 | * | ||
17 | * Because Analog Devices Inc. discontinued the ad1980 sound chip since | ||
18 | * Sep. 2009, this ad1980 driver is not maintained, tested and supported | ||
19 | * by ADI now. | ||
20 | */ | ||
21 | |||
14 | #include <linux/init.h> | 22 | #include <linux/init.h> |
15 | #include <linux/slab.h> | 23 | #include <linux/slab.h> |
16 | #include <linux/module.h> | 24 | #include <linux/module.h> |
@@ -298,6 +306,6 @@ struct snd_soc_codec_device soc_codec_dev_ad1980 = { | |||
298 | }; | 306 | }; |
299 | EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); | 307 | EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); |
300 | 308 | ||
301 | MODULE_DESCRIPTION("ASoC ad1980 driver"); | 309 | MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)"); |
302 | MODULE_AUTHOR("Roy Huang, Cliff Cai"); | 310 | MODULE_AUTHOR("Roy Huang, Cliff Cai"); |
303 | MODULE_LICENSE("GPL"); | 311 | MODULE_LICENSE("GPL"); |
diff --git a/sound/soc/codecs/ad1980.h b/sound/soc/codecs/ad1980.h index db6c8500d66b..538f37c90806 100644 --- a/sound/soc/codecs/ad1980.h +++ b/sound/soc/codecs/ad1980.h | |||
@@ -1,5 +1,11 @@ | |||
1 | /* | 1 | /* |
2 | * ad1980.h -- ad1980 Soc Audio driver | 2 | * ad1980.h -- ad1980 Soc Audio driver |
3 | * | ||
4 | * WARNING: | ||
5 | * | ||
6 | * Because Analog Devices Inc. discontinued the ad1980 sound chip since | ||
7 | * Sep. 2009, this ad1980 driver is not maintained, tested and supported | ||
8 | * by ADI now. | ||
3 | */ | 9 | */ |
4 | 10 | ||
5 | #ifndef _AD1980_H | 11 | #ifndef _AD1980_H |