summaryrefslogtreecommitdiffstats
path: root/kernel/sound/oss/msnd_pinnacle.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/oss/msnd_pinnacle.c')
-rw-r--r--kernel/sound/oss/msnd_pinnacle.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/sound/oss/msnd_pinnacle.c b/kernel/sound/oss/msnd_pinnacle.c
index a8ceef8d1..a8bb4a06b 100644
--- a/kernel/sound/oss/msnd_pinnacle.c
+++ b/kernel/sound/oss/msnd_pinnacle.c
@@ -1288,8 +1288,7 @@ static int __init calibrate_adc(WORD srate)
& ~0x0001, dev.SMA + SMA_wCurrHostStatusFlags);
if (msnd_send_word(&dev, 0, 0, HDEXAR_CAL_A_TO_D) == 0 &&
chk_send_dsp_cmd(&dev, HDEX_AUX_REQ) == 0) {
- __set_current_state(TASK_INTERRUPTIBLE);
- schedule_timeout(HZ / 3);
+ schedule_timeout_interruptible(HZ / 3);
return 0;
}
printk(KERN_WARNING LOGNAME ": ADC calibration failed\n");