{
if (qcam_ready1(qcam) == value)
return 0;
- msleep_interruptible(100);
+ current->state=TASK_INTERRUPTIBLE;
+ schedule_timeout(HZ/10);
}
/* Probably somebody pulled the plug out. Not much we can do. */
{
if (qcam_ready2(qcam) == value)
return 0;
- msleep_interruptible(100);
+ current->state=TASK_INTERRUPTIBLE;
+ schedule_timeout(HZ/10);
}
/* Probably somebody pulled the plug out. Not much we can do. */