From: Tejun Heo Date: Thu, 11 Jun 2009 02:04:45 +0000 (+0900) Subject: libata: don't set IORDY for reset X-Git-Tag: v2.6.31-rc1~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d9e6659a1bde3733cfd0072adbb3514b579e383;p=pandora-kernel.git libata: don't set IORDY for reset Before issuing reset, libata configures xfermode to PIO0 which makes some drivers turn on IORDY which may cause the controller to lock up if the port is not occupied. IORDY isn't necessary at this point anyway. Make ata_pio_need_iordy() return zero if it's being called for reset. This fixes bko#11703. Reported and tracked down by Daniel Gnoutcheff and Constantine Gavrilov. Signed-off-by: Tejun Heo Reported-by: Daniel Gnoutcheff Cc: Constantine Gavrilov Cc: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed