diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-14 20:48:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-14 20:48:14 -0400 |
commit | 2ca7d674d7ab2220707b2ada0b690c0e7c95e7ac (patch) | |
tree | 9c0927ed1d540e5fd704c1f82689870786514655 /sound/soc | |
parent | 2195d2818c37bdf263865f1e9effccdd9fc5f9d4 (diff) | |
parent | 87d721ad7a37b7650dd710c88dd5c6a5bf9fe996 (diff) |
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (257 commits)
[ARM] Update mach-types
ARM: 5636/1: Move vendor enum to AMBA include
ARM: Fix pfn_valid() for sparse memory
[ARM] orion5x: Add LaCie NAS 2Big Network support
[ARM] pxa/sharpsl_pm: zaurus c3000 aka spitz: fix resume
ARM: 5686/1: at91: Correct AC97 reset line in at91sam9263ek board
ARM: 5640/1: This patch modifies the support of AC97 on the at91sam9263 ek board
ARM: 5689/1: Update default config of HP Jornada 700-series machines
ARM: 5691/1: fix cache aliasing issues between kmap() and kmap_atomic() with highmem
ARM: 5688/1: ks8695_serial: disable_irq() lockup
ARM: 5687/1: fix an oops with highmem
ARM: 5684/1: Add nuc960 platform to w90x900
ARM: 5683/1: Add nuc950 platform to w90x900
ARM: 5682/1: Add cpu.c and dev.c and modify some files of w90p910 platform
ARM: 5626/1: add suspend/resume functions to amba-pl011 serial driver
ARM: 5625/1: fix hard coded 4K resource size in amba bus detection
MMC: MMCI: convert realview MMC to use gpiolib
ARM: 5685/1: Make MMCI driver compile without gpiolib
ARM: implement highpte
ARM: Show FIQ in /proc/interrupts on CONFIG_FIQ
...
Fix up trivial conflict in arch/arm/kernel/signal.c.
It was due to the TIF_NOTIFY_RESUME addition in commit d0420c83f ("KEYS:
Extend TIF_NOTIFY_RESUME to (almost) all architectures") and follow-ups.
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/atmel/sam9g20_wm8731.c | 36 | ||||
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-ac97.h | 6 |
2 files changed, 0 insertions, 42 deletions
diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c index 130b12118d4f..885ba012557e 100644 --- a/sound/soc/atmel/sam9g20_wm8731.c +++ b/sound/soc/atmel/sam9g20_wm8731.c | |||
@@ -193,38 +193,6 @@ static struct snd_soc_card snd_soc_at91sam9g20ek = { | |||
193 | .set_bias_level = at91sam9g20ek_set_bias_level, | 193 | .set_bias_level = at91sam9g20ek_set_bias_level, |
194 | }; | 194 | }; |
195 | 195 | ||
196 | /* | ||
197 | * FIXME: This is a temporary bodge to avoid cross-tree merge issues. | ||
198 | * New drivers should register the wm8731 I2C device in the machine | ||
199 | * setup code (under arch/arm for ARM systems). | ||
200 | */ | ||
201 | static int wm8731_i2c_register(void) | ||
202 | { | ||
203 | struct i2c_board_info info; | ||
204 | struct i2c_adapter *adapter; | ||
205 | struct i2c_client *client; | ||
206 | |||
207 | memset(&info, 0, sizeof(struct i2c_board_info)); | ||
208 | info.addr = 0x1b; | ||
209 | strlcpy(info.type, "wm8731", I2C_NAME_SIZE); | ||
210 | |||
211 | adapter = i2c_get_adapter(0); | ||
212 | if (!adapter) { | ||
213 | printk(KERN_ERR "can't get i2c adapter 0\n"); | ||
214 | return -ENODEV; | ||
215 | } | ||
216 | |||
217 | client = i2c_new_device(adapter, &info); | ||
218 | i2c_put_adapter(adapter); | ||
219 | if (!client) { | ||
220 | printk(KERN_ERR "can't add i2c device at 0x%x\n", | ||
221 | (unsigned int)info.addr); | ||
222 | return -ENODEV; | ||
223 | } | ||
224 | |||
225 | return 0; | ||
226 | } | ||
227 | |||
228 | static struct snd_soc_device at91sam9g20ek_snd_devdata = { | 196 | static struct snd_soc_device at91sam9g20ek_snd_devdata = { |
229 | .card = &snd_soc_at91sam9g20ek, | 197 | .card = &snd_soc_at91sam9g20ek, |
230 | .codec_dev = &soc_codec_dev_wm8731, | 198 | .codec_dev = &soc_codec_dev_wm8731, |
@@ -279,10 +247,6 @@ static int __init at91sam9g20ek_init(void) | |||
279 | } | 247 | } |
280 | ssc_p->ssc = ssc; | 248 | ssc_p->ssc = ssc; |
281 | 249 | ||
282 | ret = wm8731_i2c_register(); | ||
283 | if (ret != 0) | ||
284 | goto err_ssc; | ||
285 | |||
286 | at91sam9g20ek_snd_device = platform_device_alloc("soc-audio", -1); | 250 | at91sam9g20ek_snd_device = platform_device_alloc("soc-audio", -1); |
287 | if (!at91sam9g20ek_snd_device) { | 251 | if (!at91sam9g20ek_snd_device) { |
288 | printk(KERN_ERR "ASoC: Platform device allocation failed\n"); | 252 | printk(KERN_ERR "ASoC: Platform device allocation failed\n"); |
diff --git a/sound/soc/s3c24xx/s3c24xx-ac97.h b/sound/soc/s3c24xx/s3c24xx-ac97.h index a96dcadf28b4..e96f941a810b 100644 --- a/sound/soc/s3c24xx/s3c24xx-ac97.h +++ b/sound/soc/s3c24xx/s3c24xx-ac97.h | |||
@@ -20,12 +20,6 @@ | |||
20 | #define AC_CMD_ADDR(x) (x << 16) | 20 | #define AC_CMD_ADDR(x) (x << 16) |
21 | #define AC_CMD_DATA(x) (x & 0xffff) | 21 | #define AC_CMD_DATA(x) (x & 0xffff) |
22 | 22 | ||
23 | #ifdef CONFIG_CPU_S3C2440 | ||
24 | #define IRQ_S3C244x_AC97 IRQ_S3C2440_AC97 | ||
25 | #else | ||
26 | #define IRQ_S3C244x_AC97 IRQ_S3C2443_AC97 | ||
27 | #endif | ||
28 | |||
29 | extern struct snd_soc_dai s3c2443_ac97_dai[]; | 23 | extern struct snd_soc_dai s3c2443_ac97_dai[]; |
30 | 24 | ||
31 | #endif /*S3C24XXAC97_H_*/ | 25 | #endif /*S3C24XXAC97_H_*/ |