diff options
Diffstat (limited to 'sound/pci/emu10k1/emu10k1_main.c')
-rw-r--r-- | sound/pci/emu10k1/emu10k1_main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/emu10k1_main.c b/sound/pci/emu10k1/emu10k1_main.c index 7e46325974a5..f29caf1afe06 100644 --- a/sound/pci/emu10k1/emu10k1_main.c +++ b/sound/pci/emu10k1/emu10k1_main.c | |||
@@ -259,7 +259,6 @@ static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) | |||
259 | * GPIO7: Unknown | 259 | * GPIO7: Unknown |
260 | */ | 260 | */ |
261 | outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ | 261 | outl(0x76, emu->port + A_IOCFG); /* Windows uses 0x3f76 */ |
262 | |||
263 | } | 262 | } |
264 | if (emu->card_capabilities->i2c_adc) { /* Audigy 2 ZS Notebook with ADC Wolfson WM8775 */ | 263 | if (emu->card_capabilities->i2c_adc) { /* Audigy 2 ZS Notebook with ADC Wolfson WM8775 */ |
265 | int size, n; | 264 | int size, n; |
@@ -275,7 +274,6 @@ static int snd_emu10k1_init(struct snd_emu10k1 *emu, int enable_ir, int resume) | |||
275 | emu->i2c_capture_volume[n][0]= 0xcf; | 274 | emu->i2c_capture_volume[n][0]= 0xcf; |
276 | emu->i2c_capture_volume[n][1]= 0xcf; | 275 | emu->i2c_capture_volume[n][1]= 0xcf; |
277 | } | 276 | } |
278 | |||
279 | } | 277 | } |
280 | 278 | ||
281 | 279 | ||
@@ -653,6 +651,8 @@ static int snd_emu10k1_cardbus_init(struct snd_emu10k1 * emu) | |||
653 | value = inl(special_port); | 651 | value = inl(special_port); |
654 | 652 | ||
655 | snd_emu10k1_ptr20_write(emu, TINA2_VOLUME, 0, 0xfefefefe); /* Defaults to 0x30303030 */ | 653 | snd_emu10k1_ptr20_write(emu, TINA2_VOLUME, 0, 0xfefefefe); /* Defaults to 0x30303030 */ |
654 | /* Delay to give time for ADC chip to switch on. It needs 113ms */ | ||
655 | msleep(200); | ||
656 | return 0; | 656 | return 0; |
657 | } | 657 | } |
658 | 658 | ||
@@ -1717,6 +1717,8 @@ int __devinit snd_emu10k1_create(struct snd_card *card, | |||
1717 | emu->card = card; | 1717 | emu->card = card; |
1718 | spin_lock_init(&emu->reg_lock); | 1718 | spin_lock_init(&emu->reg_lock); |
1719 | spin_lock_init(&emu->emu_lock); | 1719 | spin_lock_init(&emu->emu_lock); |
1720 | spin_lock_init(&emu->spi_lock); | ||
1721 | spin_lock_init(&emu->i2c_lock); | ||
1720 | spin_lock_init(&emu->voice_lock); | 1722 | spin_lock_init(&emu->voice_lock); |
1721 | spin_lock_init(&emu->synth_lock); | 1723 | spin_lock_init(&emu->synth_lock); |
1722 | spin_lock_init(&emu->memblk_lock); | 1724 | spin_lock_init(&emu->memblk_lock); |