Merge branch 'pm-opp'
[firefly-linux-kernel-4.4.55.git] / drivers / s390 / char / con3270.c
index 75ffe9980c3e1cb8e141c6e29d01cef98aaf862f..7c511add5aa7d884d8082398198b1aa92a61dc84 100644 (file)
@@ -413,6 +413,10 @@ con3270_irq(struct con3270 *cp, struct raw3270_request *rq, struct irb *irb)
                else
                        /* Normal end. Copy residual count. */
                        rq->rescnt = irb->scsw.cmd.count;
+       } else if (irb->scsw.cmd.dstat & DEV_STAT_DEV_END) {
+               /* Interrupt without an outstanding request -> update all */
+               cp->update_flags = CON_UPDATE_ALL;
+               con3270_set_timer(cp, 1);
        }
        return RAW3270_IO_DONE;
 }