]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IDE: always release DMA engine
authorSergei Shtylylov <sshtylyov@ru.mvista.com>
Tue, 3 Oct 2006 08:14:14 +0000 (01:14 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:07 +0000 (08:04 -0700)
commit87c154deb9147f800ea7cd1c9a93fa377a327d6a
tree59386fc160b2074fb282e1c56998c6a8f32291f4
parent0ee984dd1caa97c4c2806b04fbe45d901d884213
[PATCH] IDE: always release DMA engine

Release the DMA engine for the custom mapping IDE drivers also (for
example, siimage.c does allocate it in both I/O-mapped and custom-mapped
modes).  Remove useless code from the error path of
ide_allocate_dma_engine().

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ide/ide-dma.c