diff options
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 20cc510595db..a007b20c1991 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -1156,7 +1156,8 @@ static int nv_adma_port_start(struct ata_port *ap) | |||
1156 | if (rc) | 1156 | if (rc) |
1157 | return rc; | 1157 | return rc; |
1158 | 1158 | ||
1159 | rc = ata_port_start(ap); | 1159 | /* we might fallback to bmdma, allocate bmdma resources */ |
1160 | rc = ata_bmdma_port_start(ap); | ||
1160 | if (rc) | 1161 | if (rc) |
1161 | return rc; | 1162 | return rc; |
1162 | 1163 | ||
@@ -1985,7 +1986,8 @@ static int nv_swncq_port_start(struct ata_port *ap) | |||
1985 | struct nv_swncq_port_priv *pp; | 1986 | struct nv_swncq_port_priv *pp; |
1986 | int rc; | 1987 | int rc; |
1987 | 1988 | ||
1988 | rc = ata_port_start(ap); | 1989 | /* we might fallback to bmdma, allocate bmdma resources */ |
1990 | rc = ata_bmdma_port_start(ap); | ||
1989 | if (rc) | 1991 | if (rc) |
1990 | return rc; | 1992 | return rc; |
1991 | 1993 | ||