diff options
-rw-r--r-- | drivers/s390/cio/device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 7ad6bfb2e55e..afa362ce9e85 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -488,7 +488,9 @@ static int online_store_recog_and_online(struct ccw_device *cdev) | |||
488 | { | 488 | { |
489 | /* Do device recognition, if needed. */ | 489 | /* Do device recognition, if needed. */ |
490 | if (cdev->private->state == DEV_STATE_BOXED) { | 490 | if (cdev->private->state == DEV_STATE_BOXED) { |
491 | spin_lock_irq(cdev->ccwlock); | ||
491 | ccw_device_recognition(cdev); | 492 | ccw_device_recognition(cdev); |
493 | spin_unlock_irq(cdev->ccwlock); | ||
492 | wait_event(cdev->private->wait_q, | 494 | wait_event(cdev->private->wait_q, |
493 | cdev->private->flags.recog_done); | 495 | cdev->private->flags.recog_done); |
494 | if (cdev->private->state != DEV_STATE_OFFLINE) | 496 | if (cdev->private->state != DEV_STATE_OFFLINE) |