Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98731
b: refs/heads/master
c: 2b54ed9
h: refs/heads/master
i:
  98729: 2aa458c
  98727: 64c4ba0
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 5, 2008
1 parent 5048869 commit 6a3fc11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: bd8a59e29726b2a5ff7baefe995febdc63044a61
refs/heads/master: 2b54ed9467697b0ce2d60d89e5e4253c9e322c26
4 changes: 2 additions & 2 deletions trunk/drivers/ide/ide.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,15 +352,15 @@ void ide_unregister(ide_hwif_t *hwif)
blk_unregister_region(MKDEV(hwif->major, 0), MAX_DRIVES<<PARTN_BITS);
kfree(hwif->sg_table);
unregister_blkdev(hwif->major, hwif->name);
spin_lock_irq(&ide_lock);

if (hwif->dma_base)
ide_release_dma_engine(hwif);

spin_lock_irq(&ide_lock);
/* restore hwif data to pristine status */
ide_init_port_data(hwif, hwif->index);

spin_unlock_irq(&ide_lock);

mutex_unlock(&ide_cfg_mtx);
}

Expand Down

0 comments on commit 6a3fc11

Please sign in to comment.