diff options
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 982fdae..58e954f 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -347,8 +347,8 @@ ata_suspend(device_t dev) ch->state = ATA_ACTIVE; gotit = 1; } - tsleep(&gotit, PRIBIO, "atasusp", hz/10); mtx_unlock(&ch->state_mtx); + tsleep(&gotit, PRIBIO, "atasusp", hz/10); } ch->locking(ch, ATA_LF_UNLOCK); return 0; |