Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Tesarik <ptesarik@suse.cz>2019-05-23 19:05:56 +0200
committerPetr Tesarik <ptesarik@suse.cz>2019-05-23 19:05:56 +0200
commitda9208c4933c0a2784fa585230ed59f5b6ecd962 (patch)
tree9a81a209cbe22bf6a7e512c8174c12389876fbad
parent273faebd93fe160ce18af269de491e39da9a854c (diff)
s390/qdio: clear intparm during shutdown (bsc#1134597
LTC#177516). suse-commit: fbf32ade743761f6fbeb4c81da24ee03beff8c90
-rw-r--r--drivers/s390/cio/qdio_main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c
index c7afdbded26b..6105822e0998 100644
--- a/drivers/s390/cio/qdio_main.c
+++ b/drivers/s390/cio/qdio_main.c
@@ -1216,8 +1216,10 @@ no_cleanup:
qdio_shutdown_thinint(irq_ptr);
/* restore interrupt handler */
- if ((void *)cdev->handler == (void *)qdio_int_handler)
+ if ((void *)cdev->handler == (void *)qdio_int_handler) {
cdev->handler = irq_ptr->orig_handler;
+ cdev->private->intparm = 0;
+ }
spin_unlock_irq(get_ccwdev_lock(cdev));
qdio_set_state(irq_ptr, QDIO_IRQ_STATE_INACTIVE);