]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-cs: fix releasing I/O resources
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:23 +0000 (21:00 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:23 +0000 (21:00 +0200)
commitfbc69fd9b76158daaa83e5372e44fdd81df20f92
tree43c516664f3b980c6d1919136cc7a51cffd018ea
parent792a1a98560a2a1619491eed8b18fccb09b312a7
ide-cs: fix releasing I/O resources

hwif content is already freed after ide_release() call so cache
hwif->io_ports.{data,ctl}_addr in local variables in ide_detach().

This fixes post-2.6.25 regression.

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