Commit 75464960 authored by Holger Dengler's avatar Holger Dengler Committed by Martin Schwidefsky

[S390] ap: Setup timer for sending messages after reset.

Setup timer for processing messages in request queue after a
successful AP bus device reset.
Signed-off-by: default avatarHolger Dengler <hd@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 3b484ec6
...@@ -1552,6 +1552,8 @@ static void ap_reset(struct ap_device *ap_dev) ...@@ -1552,6 +1552,8 @@ static void ap_reset(struct ap_device *ap_dev)
rc = ap_init_queue(ap_dev->qid); rc = ap_init_queue(ap_dev->qid);
if (rc == -ENODEV) if (rc == -ENODEV)
ap_dev->unregistered = 1; ap_dev->unregistered = 1;
else
__ap_schedule_poll_timer();
} }
static int __ap_poll_device(struct ap_device *ap_dev, unsigned long *flags) static int __ap_poll_device(struct ap_device *ap_dev, unsigned long *flags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment