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 105 Set the correct GPIO for RESET the sound chip. 106 106 107 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 109 depends on SND_BF5XX_AC97 110 110 select SND_BF5XX_SOC_AC97 111 111 select SND_SOC_AD1980 112 112 help 113 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. 114 119 115 120 config SND_BF5XX_SOC_SPORT 116 121 tristate
+9 -1
sound/soc/blackfin/bf5xx-ad1980.c
··· 26 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 37 #include <linux/module.h> 30 38 #include <linux/moduleparam.h> 31 39 #include <linux/device.h> ··· 117 109 118 110 /* Module information */ 119 111 MODULE_AUTHOR("Cliff Cai"); 120 - MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board"); 112 + MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board (Obsolete)"); 121 113 MODULE_LICENSE("GPL");
+9 -1
sound/soc/codecs/ad1980.c
··· 11 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 22 #include <linux/init.h> 15 23 #include <linux/slab.h> 16 24 #include <linux/module.h> ··· 306 298 }; 307 299 EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); 308 300 309 - MODULE_DESCRIPTION("ASoC ad1980 driver"); 301 + MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)"); 310 302 MODULE_AUTHOR("Roy Huang, Cliff Cai"); 311 303 MODULE_LICENSE("GPL");
+6
sound/soc/codecs/ad1980.h
··· 1 1 /* 2 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 11 #ifndef _AD1980_H