Skip to content

Commit

Permalink
[S390] ap: Setup timer for sending messages after reset.
Browse files Browse the repository at this point in the history
Setup timer for processing messages in request queue after a
successful AP bus device reset.

Signed-off-by: Holger Dengler <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
Holger Dengler authored and Martin Schwidefsky committed Dec 1, 2011
1 parent 3b484ec commit 7546496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/s390/crypto/ap_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,8 @@ static void ap_reset(struct ap_device *ap_dev)
rc = ap_init_queue(ap_dev->qid);
if (rc == -ENODEV)
ap_dev->unregistered = 1;
else
__ap_schedule_poll_timer();
}

static int __ap_poll_device(struct ap_device *ap_dev, unsigned long *flags)
Expand Down

0 comments on commit 7546496

Please sign in to comment.