diff options
author | James Courtier-Dutton <James@superbug.co.uk> | 2006-10-10 13:44:29 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:00:41 -0500 |
commit | e40a0b2e9d73c69e6b9e5d55eb56696f81fbf802 (patch) | |
tree | 87f4f20ec889d77a2c1bb44ac2e543206a095f01 /sound | |
parent | b0dbdaea55d55c05be972cd2a040acfa073b0509 (diff) |
[ALSA] snd-emu10k1: emu1010: replace long udelay with msleep.
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/emu10k1/emumixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c index a118fee11cdd..5ceb8dd5cb38 100644 --- a/sound/pci/emu10k1/emumixer.c +++ b/sound/pci/emu10k1/emumixer.c | |||
@@ -542,7 +542,7 @@ static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol, | |||
542 | snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2, | 542 | snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2, |
543 | EMU_HANA_DOCK_LEDS_2_44K | EMU_HANA_DOCK_LEDS_2_LOCK ); | 543 | EMU_HANA_DOCK_LEDS_2_44K | EMU_HANA_DOCK_LEDS_2_LOCK ); |
544 | /* Allow DLL to settle */ | 544 | /* Allow DLL to settle */ |
545 | udelay(10000); | 545 | msleep(10); |
546 | /* Unmute all */ | 546 | /* Unmute all */ |
547 | snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE ); | 547 | snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE ); |
548 | break; | 548 | break; |
@@ -559,7 +559,7 @@ static int snd_emu1010_internal_clock_put(struct snd_kcontrol *kcontrol, | |||
559 | snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2, | 559 | snd_emu1010_fpga_write(emu, EMU_HANA_DOCK_LEDS_2, |
560 | EMU_HANA_DOCK_LEDS_2_48K | EMU_HANA_DOCK_LEDS_2_LOCK ); | 560 | EMU_HANA_DOCK_LEDS_2_48K | EMU_HANA_DOCK_LEDS_2_LOCK ); |
561 | /* Allow DLL to settle */ | 561 | /* Allow DLL to settle */ |
562 | udelay(10000); | 562 | msleep(10); |
563 | /* Unmute all */ | 563 | /* Unmute all */ |
564 | snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE ); | 564 | snd_emu1010_fpga_write(emu, EMU_HANA_UNMUTE, EMU_UNMUTE ); |
565 | break; | 565 | break; |