]> err.no Git - linux-2.6/commitdiff
[ALSA] snd-emu10k1: emu1010: replace long udelay with msleep.
authorJames Courtier-Dutton <James@superbug.co.uk>
Tue, 10 Oct 2006 17:44:29 +0000 (18:44 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:41 +0000 (09:00 +0100)
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/emu10k1/emumixer.c

index a118fee11cdd4b9eb186d736b723197266a5896e..5ceb8dd5cb385313d8fb93b8a30998c0a9dfd638 100644 (file)
@@ -542,7 +542,7 @@ static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol,
                        snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2,
                                EMU_HANA_DOCK_LEDS_2_44K | EMU_HANA_DOCK_LEDS_2_LOCK );
                        /* Allow DLL to settle */
-                       udelay(10000);
+                       msleep(10);
                        /* Unmute all */
                        snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE );
                        break;
@@ -559,7 +559,7 @@ static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol,
                        snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2,
                                EMU_HANA_DOCK_LEDS_2_48K | EMU_HANA_DOCK_LEDS_2_LOCK );
                        /* Allow DLL to settle */
-                       udelay(10000);
+                       msleep(10);
                        /* Unmute all */
                        snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE );
                        break;