Tejun Heo 7a3a16fe7d pata_legacy: don't call ata_host_detach() after initialization failure
ata_host_detach() detaches an attached port and shouldn't be called on
a port which hasn't been attached yet.  pata_legacy incorrectly calls
ata_host_detach() on unattached port after initialization failure
causing oops.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@infradead.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-02-15 13:51:12 -05:00
..
2008-02-09 03:33:40 -05:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-07 20:39:44 -05:00
2008-02-08 14:32:37 -08:00
2008-02-08 09:22:38 -08:00
2008-02-13 08:16:34 -08:00
2008-02-07 08:42:23 -08:00
2008-02-13 16:21:19 -08:00
2008-02-09 10:46:40 +01:00
2008-02-09 23:27:01 -08:00
2008-02-03 17:30:25 +02:00
2008-02-06 10:41:07 -08:00