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>

authored by Sonic Zhang and committed by Mark Brown 2e2211a3 ac770267

+30 -3
+6 -1
sound/soc/blackfin/Kconfig
··· 105 Set the correct GPIO for RESET the sound chip. 106 107 config SND_BF5XX_SOC_AD1980 108 - tristate "SoC AD1980/1 Audio support for BF5xx" 109 depends on SND_BF5XX_AC97 110 select SND_BF5XX_SOC_AC97 111 select SND_SOC_AD1980 112 help 113 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. 114 115 config SND_BF5XX_SOC_SPORT 116 tristate
··· 105 Set the correct GPIO for RESET the sound chip. 106 107 config SND_BF5XX_SOC_AD1980 108 + tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)" 109 depends on SND_BF5XX_AC97 110 select SND_BF5XX_SOC_AC97 111 select SND_SOC_AD1980 112 help 113 Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. 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 120 config SND_BF5XX_SOC_SPORT 121 tristate
+9 -1
sound/soc/blackfin/bf5xx-ad1980.c
··· 26 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 */ 28 29 #include <linux/module.h> 30 #include <linux/moduleparam.h> 31 #include <linux/device.h> ··· 117 118 /* Module information */ 119 MODULE_AUTHOR("Cliff Cai"); 120 - MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board"); 121 MODULE_LICENSE("GPL");
··· 26 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 */ 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 + 37 #include <linux/module.h> 38 #include <linux/moduleparam.h> 39 #include <linux/device.h> ··· 109 110 /* Module information */ 111 MODULE_AUTHOR("Cliff Cai"); 112 + MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board (Obsolete)"); 113 MODULE_LICENSE("GPL");
+9 -1
sound/soc/codecs/ad1980.c
··· 11 * option) any later version. 12 */ 13 14 #include <linux/init.h> 15 #include <linux/slab.h> 16 #include <linux/module.h> ··· 306 }; 307 EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); 308 309 - MODULE_DESCRIPTION("ASoC ad1980 driver"); 310 MODULE_AUTHOR("Roy Huang, Cliff Cai"); 311 MODULE_LICENSE("GPL");
··· 11 * option) any later version. 12 */ 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 + 22 #include <linux/init.h> 23 #include <linux/slab.h> 24 #include <linux/module.h> ··· 298 }; 299 EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); 300 301 + MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)"); 302 MODULE_AUTHOR("Roy Huang, Cliff Cai"); 303 MODULE_LICENSE("GPL");
+6
sound/soc/codecs/ad1980.h
··· 1 /* 2 * ad1980.h -- ad1980 Soc Audio driver 3 */ 4 5 #ifndef _AD1980_H
··· 1 /* 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. 9 */ 10 11 #ifndef _AD1980_H