Commit 2e2211a3 authored by Sonic Zhang's avatar Sonic Zhang Committed by Mark Brown

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: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent ac770267
...@@ -105,13 +105,18 @@ config SND_BF5XX_RESET_GPIO_NUM ...@@ -105,13 +105,18 @@ config SND_BF5XX_RESET_GPIO_NUM
Set the correct GPIO for RESET the sound chip. Set the correct GPIO for RESET the sound chip.
config SND_BF5XX_SOC_AD1980 config SND_BF5XX_SOC_AD1980
tristate "SoC AD1980/1 Audio support for BF5xx" tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
depends on SND_BF5XX_AC97 depends on SND_BF5XX_AC97
select SND_BF5XX_SOC_AC97 select SND_BF5XX_SOC_AC97
select SND_SOC_AD1980 select SND_SOC_AD1980
help help
Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT. Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
Warning:
Because Analog Devices Inc. discontinued the ad1980 sound chip since
Sep. 2009, this ad1980 driver is not maintained, tested and supported
by ADI now.
config SND_BF5XX_SOC_SPORT config SND_BF5XX_SOC_SPORT
tristate tristate
......
...@@ -26,6 +26,14 @@ ...@@ -26,6 +26,14 @@
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
/*
* WARNING:
*
* Because Analog Devices Inc. discontinued the ad1980 sound chip since
* Sep. 2009, this ad1980 driver is not maintained, tested and supported
* by ADI now.
*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/device.h> #include <linux/device.h>
...@@ -109,5 +117,5 @@ module_exit(bf5xx_board_exit); ...@@ -109,5 +117,5 @@ module_exit(bf5xx_board_exit);
/* Module information */ /* Module information */
MODULE_AUTHOR("Cliff Cai"); MODULE_AUTHOR("Cliff Cai");
MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board"); MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board (Obsolete)");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
...@@ -11,6 +11,14 @@ ...@@ -11,6 +11,14 @@
* option) any later version. * option) any later version.
*/ */
/*
* WARNING:
*
* Because Analog Devices Inc. discontinued the ad1980 sound chip since
* Sep. 2009, this ad1980 driver is not maintained, tested and supported
* by ADI now.
*/
#include <linux/init.h> #include <linux/init.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/module.h> #include <linux/module.h>
...@@ -298,6 +306,6 @@ struct snd_soc_codec_device soc_codec_dev_ad1980 = { ...@@ -298,6 +306,6 @@ struct snd_soc_codec_device soc_codec_dev_ad1980 = {
}; };
EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980); EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980);
MODULE_DESCRIPTION("ASoC ad1980 driver"); MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)");
MODULE_AUTHOR("Roy Huang, Cliff Cai"); MODULE_AUTHOR("Roy Huang, Cliff Cai");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
/* /*
* ad1980.h -- ad1980 Soc Audio driver * ad1980.h -- ad1980 Soc Audio driver
*
* WARNING:
*
* Because Analog Devices Inc. discontinued the ad1980 sound chip since
* Sep. 2009, this ad1980 driver is not maintained, tested and supported
* by ADI now.
*/ */
#ifndef _AD1980_H #ifndef _AD1980_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment