diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 8199527966eb..bfbd630a889c 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -474,6 +474,12 @@ static int sil24_softreset(struct ata_port *ap, unsigned int *class) | |||
474 | irq_enable = readl(port + PORT_IRQ_ENABLE_SET); | 474 | irq_enable = readl(port + PORT_IRQ_ENABLE_SET); |
475 | writel(irq_enable, port + PORT_IRQ_ENABLE_CLR); | 475 | writel(irq_enable, port + PORT_IRQ_ENABLE_CLR); |
476 | 476 | ||
477 | /* put the port into known state */ | ||
478 | if (sil24_init_port(ap)) { | ||
479 | reason ="port not ready"; | ||
480 | goto err; | ||
481 | } | ||
482 | |||
477 | /* | 483 | /* |
478 | * XXX: Not sure whether the following sleep is needed or not. | 484 | * XXX: Not sure whether the following sleep is needed or not. |
479 | * The original driver had it. So.... | 485 | * The original driver had it. So.... |