diff options
Diffstat (limited to 'drivers/ata/libahci.c')
-rw-r--r-- | drivers/ata/libahci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index a70ff154f586..7b9bdd822c62 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c | |||
@@ -1560,8 +1560,7 @@ static void ahci_error_intr(struct ata_port *ap, u32 irq_stat) | |||
1560 | u32 fbs = readl(port_mmio + PORT_FBS); | 1560 | u32 fbs = readl(port_mmio + PORT_FBS); |
1561 | int pmp = fbs >> PORT_FBS_DWE_OFFSET; | 1561 | int pmp = fbs >> PORT_FBS_DWE_OFFSET; |
1562 | 1562 | ||
1563 | if ((fbs & PORT_FBS_SDE) && (pmp < ap->nr_pmp_links) && | 1563 | if ((fbs & PORT_FBS_SDE) && (pmp < ap->nr_pmp_links)) { |
1564 | ata_link_online(&ap->pmp_link[pmp])) { | ||
1565 | link = &ap->pmp_link[pmp]; | 1564 | link = &ap->pmp_link[pmp]; |
1566 | fbs_need_dec = true; | 1565 | fbs_need_dec = true; |
1567 | } | 1566 | } |