diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/libata-core.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/libata-core.c b/drivers/scsi/libata-core.c index 0aff888d9ecd..64f71df19ed1 100644 --- a/drivers/scsi/libata-core.c +++ b/drivers/scsi/libata-core.c | |||
@@ -2008,13 +2008,12 @@ static unsigned int ata_bus_softreset(struct ata_port *ap, | |||
2008 | */ | 2008 | */ |
2009 | msleep(150); | 2009 | msleep(150); |
2010 | 2010 | ||
2011 | |||
2012 | /* Before we perform post reset processing we want to see if | 2011 | /* Before we perform post reset processing we want to see if |
2013 | the bus shows 0xFF because the odd clown forgets the D7 pulldown | 2012 | * the bus shows 0xFF because the odd clown forgets the D7 |
2014 | resistor */ | 2013 | * pulldown resistor. |
2015 | 2014 | */ | |
2016 | if (ata_check_status(ap) == 0xFF) | 2015 | if (ata_check_status(ap) == 0xFF) |
2017 | return 1; /* Positive is failure for some reason */ | 2016 | return AC_ERR_OTHER; |
2018 | 2017 | ||
2019 | ata_bus_post_reset(ap, devmask); | 2018 | ata_bus_post_reset(ap, devmask); |
2020 | 2019 | ||