|
@@ -32,7 +32,7 @@
|
|
|
|
|
|
#include <linux/module.h>
|
|
|
#include <linux/init.h>
|
|
|
-
|
|
|
+#include <linux/delay.h>
|
|
|
#include <linux/slab.h>
|
|
|
#include <linux/kernel.h>
|
|
|
#include <linux/proc_fs.h>
|
|
@@ -3332,13 +3332,7 @@ qdio_activate(struct ccw_device *cdev, int flags)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- wait_event_interruptible_timeout(cdev->private->wait_q,
|
|
|
- ((irq_ptr->state ==
|
|
|
- QDIO_IRQ_STATE_STOPPED) ||
|
|
|
- (irq_ptr->state ==
|
|
|
- QDIO_IRQ_STATE_ERR)),
|
|
|
- QDIO_ACTIVATE_TIMEOUT);
|
|
|
-
|
|
|
+ msleep(QDIO_ACTIVATE_TIMEOUT);
|
|
|
switch (irq_ptr->state) {
|
|
|
case QDIO_IRQ_STATE_STOPPED:
|
|
|
case QDIO_IRQ_STATE_ERR:
|