Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 373281
b: refs/heads/master
c: 56bbe68
h: refs/heads/master
i:
  373279: aeaecf4
v: v3
  • Loading branch information
Ingo Tuchscherer authored and Martin Schwidefsky committed May 2, 2013
1 parent 85df09b commit dea6885
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1553556067cd759f4fae8410bdaad33f5add78cc
refs/heads/master: 56bbe686693df7edcca18d1808edd80609e63c31
17 changes: 7 additions & 10 deletions trunk/drivers/s390/crypto/ap_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,15 +954,11 @@ EXPORT_SYMBOL(ap_driver_unregister);

void ap_bus_force_rescan(void)
{
/* Delete the AP bus rescan timer. */
del_timer(&ap_config_timer);

/* processing a synchonuous bus rescan */
ap_scan_bus(NULL);

/* Setup the AP bus rescan timer again. */
ap_config_timer.expires = jiffies + ap_config_time * HZ;
add_timer(&ap_config_timer);
/* reconfigure the AP bus rescan timer. */
mod_timer(&ap_config_timer, jiffies + ap_config_time * HZ);
/* processing a asynchronous bus rescan */
queue_work(ap_work_queue, &ap_config_work);
flush_work(&ap_config_work);
}
EXPORT_SYMBOL(ap_bus_force_rescan);

Expand Down Expand Up @@ -1305,8 +1301,9 @@ static void ap_scan_bus(struct work_struct *unused)
int rc, i;

ap_query_configuration();
if (ap_select_domain() != 0)
if (ap_select_domain() != 0) {
return;
}
for (i = 0; i < AP_DEVICES; i++) {
qid = AP_MKQID(i, ap_domain_index);
dev = bus_find_device(&ap_bus_type, NULL,
Expand Down

0 comments on commit dea6885

Please sign in to comment.