diff options
Diffstat (limited to 'sound/isa/ad1848/ad1848_lib.c')
-rw-r--r-- | sound/isa/ad1848/ad1848_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index d454d11989f0..c10dfc10e67a 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c | |||
@@ -239,7 +239,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip) | |||
239 | #if 0 | 239 | #if 0 |
240 | printk("(2) jiffies = %li\n", jiffies); | 240 | printk("(2) jiffies = %li\n", jiffies); |
241 | #endif | 241 | #endif |
242 | time = HZ / 4; | 242 | time = msecs_to_jiffies(250); |
243 | while (snd_ad1848_in(chip, AD1848_TEST_INIT) & AD1848_CALIB_IN_PROGRESS) { | 243 | while (snd_ad1848_in(chip, AD1848_TEST_INIT) & AD1848_CALIB_IN_PROGRESS) { |
244 | spin_unlock_irqrestore(&chip->reg_lock, flags); | 244 | spin_unlock_irqrestore(&chip->reg_lock, flags); |
245 | if (time <= 0) { | 245 | if (time <= 0) { |
@@ -252,7 +252,7 @@ static void snd_ad1848_mce_down(struct snd_ad1848 *chip) | |||
252 | #if 0 | 252 | #if 0 |
253 | printk("(3) jiffies = %li\n", jiffies); | 253 | printk("(3) jiffies = %li\n", jiffies); |
254 | #endif | 254 | #endif |
255 | time = HZ / 10; | 255 | time = msecs_to_jiffies(100); |
256 | while (inb(AD1848P(chip, REGSEL)) & AD1848_INIT) { | 256 | while (inb(AD1848P(chip, REGSEL)) & AD1848_INIT) { |
257 | spin_unlock_irqrestore(&chip->reg_lock, flags); | 257 | spin_unlock_irqrestore(&chip->reg_lock, flags); |
258 | if (time <= 0) { | 258 | if (time <= 0) { |