Skip to content

Commit c6774bc

Browse files
committed
Merge branch 'topic/asoc' into for-linus
2 parents 6b4e901 + 2e2211a commit c6774bc

7 files changed

Lines changed: 38 additions & 9 deletions

File tree

‎sound/soc/blackfin/Kconfig‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,13 +105,18 @@ config SND_BF5XX_RESET_GPIO_NUM
105105
Set the correct GPIO for RESET the sound chip.
106106

107107
config SND_BF5XX_SOC_AD1980
108-
tristate "SoC AD1980/1 Audio support for BF5xx"
108+
tristate "SoC AD1980/1 Audio support for BF5xx (Obsolete)"
109109
depends on SND_BF5XX_AC97
110110
select SND_BF5XX_SOC_AC97
111111
select SND_SOC_AD1980
112112
help
113113
Say Y if you want to add support for SoC audio on BF5xx STAMP/EZKIT.
114114

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+
115120
config SND_BF5XX_SOC_SPORT
116121
tristate
117122

‎sound/soc/blackfin/bf5xx-ad1980.c‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@
2626
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2727
*/
2828

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+
2937
#include <linux/module.h>
3038
#include <linux/moduleparam.h>
3139
#include <linux/device.h>
@@ -109,5 +117,5 @@ module_exit(bf5xx_board_exit);
109117

110118
/* Module information */
111119
MODULE_AUTHOR("Cliff Cai");
112-
MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board");
120+
MODULE_DESCRIPTION("ALSA SoC AD1980/1 BF5xx board (Obsolete)");
113121
MODULE_LICENSE("GPL");

‎sound/soc/codecs/ad1980.c‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111
* option) any later version.
1212
*/
1313

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+
1422
#include <linux/init.h>
1523
#include <linux/slab.h>
1624
#include <linux/module.h>
@@ -298,6 +306,6 @@ struct snd_soc_codec_device soc_codec_dev_ad1980 = {
298306
};
299307
EXPORT_SYMBOL_GPL(soc_codec_dev_ad1980);
300308

301-
MODULE_DESCRIPTION("ASoC ad1980 driver");
309+
MODULE_DESCRIPTION("ASoC ad1980 driver (Obsolete)");
302310
MODULE_AUTHOR("Roy Huang, Cliff Cai");
303311
MODULE_LICENSE("GPL");

‎sound/soc/codecs/ad1980.h‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
/*
22
* 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.
39
*/
410

511
#ifndef _AD1980_H

‎sound/soc/codecs/wm8580.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,9 @@ SOC_DOUBLE("DAC2 Invert Switch", WM8580_DAC_CONTROL4, 2, 3, 1, 0),
269269
SOC_DOUBLE("DAC3 Invert Switch", WM8580_DAC_CONTROL4, 4, 5, 1, 0),
270270

271271
SOC_SINGLE("DAC ZC Switch", WM8580_DAC_CONTROL5, 5, 1, 0),
272-
SOC_SINGLE("DAC1 Switch", WM8580_DAC_CONTROL5, 0, 1, 0),
273-
SOC_SINGLE("DAC2 Switch", WM8580_DAC_CONTROL5, 1, 1, 0),
274-
SOC_SINGLE("DAC3 Switch", WM8580_DAC_CONTROL5, 2, 1, 0),
272+
SOC_SINGLE("DAC1 Switch", WM8580_DAC_CONTROL5, 0, 1, 1),
273+
SOC_SINGLE("DAC2 Switch", WM8580_DAC_CONTROL5, 1, 1, 1),
274+
SOC_SINGLE("DAC3 Switch", WM8580_DAC_CONTROL5, 2, 1, 1),
275275

276276
SOC_DOUBLE("ADC Mute Switch", WM8580_ADC_CONTROL1, 0, 1, 1, 0),
277277
SOC_SINGLE("ADC High-Pass Filter Switch", WM8580_ADC_CONTROL1, 4, 1, 0),

‎sound/soc/imx/Kconfig‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ config SND_SOC_PHYCORE_AC97
2828

2929
config SND_SOC_EUKREA_TLV320
3030
tristate "Eukrea TLV320"
31-
depends on MACH_EUKREA_MBIMX27_BASEBOARD || MACH_EUKREA_MBIMXSD_BASEBOARD
31+
depends on MACH_EUKREA_MBIMX27_BASEBOARD \
32+
|| MACH_EUKREA_MBIMXSD25_BASEBOARD \
33+
|| MACH_EUKREA_MBIMXSD35_BASEBOARD
3234
select SND_SOC_TLV320AIC23
3335
help
3436
Enable I2S based access to the TLV320AIC23B codec attached

‎sound/soc/soc-cache.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ static unsigned int snd_soc_16_8_read_i2c(struct snd_soc_codec *codec,
340340
static unsigned int snd_soc_16_8_read(struct snd_soc_codec *codec,
341341
unsigned int reg)
342342
{
343-
u16 *cache = codec->reg_cache;
343+
u8 *cache = codec->reg_cache;
344344

345345
reg &= 0xff;
346346
if (reg >= codec->reg_cache_size)
@@ -351,7 +351,7 @@ static unsigned int snd_soc_16_8_read(struct snd_soc_codec *codec,
351351
static int snd_soc_16_8_write(struct snd_soc_codec *codec, unsigned int reg,
352352
unsigned int value)
353353
{
354-
u16 *cache = codec->reg_cache;
354+
u8 *cache = codec->reg_cache;
355355
u8 data[3];
356356
int ret;
357357

0 commit comments

Comments
 (0)