mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
[S390] cio: incorrect status check in interrogate function
Fix incorrect check for active I/O in interrogate function. Signed-off-by: Peter Oberparleiter <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
17e7d87d9f
commit
7a968f0565
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ int ccw_device_tm_intrg(struct ccw_device *cdev)
|
|||
if (cdev->private->state != DEV_STATE_ONLINE)
|
||||
return -EIO;
|
||||
if (!scsw_is_tm(&sch->schib.scsw) ||
|
||||
!(scsw_actl(&sch->schib.scsw) | SCSW_ACTL_START_PEND))
|
||||
!(scsw_actl(&sch->schib.scsw) & SCSW_ACTL_START_PEND))
|
||||
return -EINVAL;
|
||||
return cio_tm_intrg(sch);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue