libata: fix ata_host_release() free order
commit1aa506e437a94d520f852d39d5d6a6e7f2e01901
authorTejun Heo <htejun@gmail.com>
Fri, 9 Mar 2007 10:36:12 +0000 (9 19:36 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Mar 2007 13:41:16 +0000 (9 08:41 -0500)
treef001596d659c278ef8d78de1e11eae7b9198705c
parent8ba5e4cbe444f10352756b6c7715bb26bb087680
libata: fix ata_host_release() free order

host->ops->host_stop() might access ports.  Free ports after
host_stop.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c