]> err.no Git - linux-2.6/commitdiff
[ALSA] snd-emu10k1:Unmute the Audio/Micro Dock after firmware load.
authorJames Courtier-Dutton <James@superbug.co.uk>
Thu, 26 Jul 2007 17:44:49 +0000 (18:44 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:04 +0000 (15:58 +0200)
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/emu10k1/emu10k1_main.c

index e22bb717e96ae6451011ff693c6373cad9c97fc8..f55395bc911ee87712e3ced41ce627b39587940e 100644 (file)
@@ -752,6 +752,12 @@ int emu1010_firmware_thread(void *data) {
                        snd_emu1010_fpga_read(emu, EMU_DOCK_MAJOR_REV, &tmp );
                        snd_emu1010_fpga_read(emu, EMU_DOCK_MINOR_REV, &tmp2 );
                        snd_printk("Audio Dock ver:%d.%d\n",tmp ,tmp2);
+                       /* Sync clocking between 1010 and Dock */
+                       /* Allow DLL to settle */
+                       msleep(10);
+                       /* Unmute all. Default is muted after a firmware load */
+                       snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE );
+                       break;
                }
        }
        return 0;