ide: ide_unregister() locking bugfix
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 5 Jul 2008 18:30:51 +0000 (20:30 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 5 Jul 2008 18:30:51 +0000 (20:30 +0200)
commit2b54ed9467697b0ce2d60d89e5e4253c9e322c26
tree0dcc38e0e8549987f87a10940ee5df6038ac4272
parentbd8a59e29726b2a5ff7baefe995febdc63044a61
ide: ide_unregister() locking bugfix

Holding ide_lock for ide_release_dma_engine() call is unnecessary
and triggers WARN_ON(irqs_disabled()) in dma_free_coherent().

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide.c