diff options
Diffstat (limited to 'drivers/s390/cio/device.c')
-rw-r--r-- | drivers/s390/cio/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 7bb44e73ea9d..3b56f373da3a 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -743,6 +743,7 @@ static int io_subchannel_recog(struct ccw_device *, struct subchannel *); | |||
743 | static void sch_attach_device(struct subchannel *sch, | 743 | static void sch_attach_device(struct subchannel *sch, |
744 | struct ccw_device *cdev) | 744 | struct ccw_device *cdev) |
745 | { | 745 | { |
746 | css_update_ssd_info(sch); | ||
746 | spin_lock_irq(sch->lock); | 747 | spin_lock_irq(sch->lock); |
747 | sch->dev.driver_data = cdev; | 748 | sch->dev.driver_data = cdev; |
748 | cdev->private->schid = sch->schid; | 749 | cdev->private->schid = sch->schid; |
@@ -878,7 +879,7 @@ io_subchannel_register(struct work_struct *work) | |||
878 | priv = container_of(work, struct ccw_device_private, kick_work); | 879 | priv = container_of(work, struct ccw_device_private, kick_work); |
879 | cdev = priv->cdev; | 880 | cdev = priv->cdev; |
880 | sch = to_subchannel(cdev->dev.parent); | 881 | sch = to_subchannel(cdev->dev.parent); |
881 | 882 | css_update_ssd_info(sch); | |
882 | /* | 883 | /* |
883 | * io_subchannel_register() will also be called after device | 884 | * io_subchannel_register() will also be called after device |
884 | * recognition has been done for a boxed device (which will already | 885 | * recognition has been done for a boxed device (which will already |