[ALSA] Fix schedule_timeout usage
[deliverable/linux.git] / sound / usb / usbaudio.c
index fce6ad62df6cd87d6c069c6747de469566db1e85..8818918c4237039a6aa6eaa1d1017816394d5397 100644 (file)
@@ -838,8 +838,7 @@ static int wait_clear_urbs(snd_usb_substream_t *subs)
                }
                if (! alive)
                        break;
-               set_current_state(TASK_UNINTERRUPTIBLE);
-               schedule_timeout(1);
+               schedule_timeout_uninterruptible(1);
        } while (time_before(jiffies, end_time));
        if (alive)
                snd_printk(KERN_ERR "timeout: still %d active urbs..\n", alive);
This page took 0.031027 seconds and 5 git commands to generate.