mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[PATCH] s390: ccw device disbanding
If __ccw_device_disband_start() fails to initiate disbanding, it should finish with ccw_device_disband_done() (which leaves the device in offline state) instead of ccw_device_verify_done() (which leaves the device in online state). Signed-off-by: Cornelia Huck <[email protected]> Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4bbf39c29b
commit
6d751c43b2
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ __ccw_device_disband_start(struct ccw_device *cdev)
|
|||
cdev->private->iretry = 5;
|
||||
cdev->private->imask >>= 1;
|
||||
}
|
||||
ccw_device_verify_done(cdev, (sch->lpm != 0) ? 0 : -ENODEV);
|
||||
ccw_device_disband_done(cdev, (sch->lpm != 0) ? 0 : -ENODEV);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue