]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/usb/usx2y/usX2Yhwdep.c
[ALSA] Fix-up sleeping in sound/usb
[linux-2.6-omap-h63xx.git] / sound / usb / usx2y / usX2Yhwdep.c
index bef9b0c142c4008ae8683f5f21de0edec98fdb8c..0281a362857a2b1753af67eb2cfa872a4bfbca8c 100644 (file)
@@ -232,8 +232,7 @@ static int snd_usX2Y_hwdep_dsp_load(snd_hwdep_t *hw, snd_hwdep_dsp_image_t *dsp)
        if (err)
                return err;
        if (dsp->index == 1) {
-               set_current_state(TASK_UNINTERRUPTIBLE);
-               schedule_timeout(HZ/4);                 // give the device some time 
+               msleep(250);                            // give the device some time
                err = usX2Y_AsyncSeq04_init(priv);
                if (err) {
                        snd_printk("usX2Y_AsyncSeq04_init error \n");