diff options
-rw-r--r-- | drivers/ata/pata_bf54x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c index 088a41f4e656..7842cc487359 100644 --- a/drivers/ata/pata_bf54x.c +++ b/drivers/ata/pata_bf54x.c | |||
@@ -1509,7 +1509,8 @@ static int __devinit bfin_atapi_probe(struct platform_device *pdev) | |||
1509 | if (res == NULL) | 1509 | if (res == NULL) |
1510 | return -EINVAL; | 1510 | return -EINVAL; |
1511 | 1511 | ||
1512 | while (bfin_port_info[board_idx].udma_mask>0 && udma_fsclk[udma_mode] > fsclk) { | 1512 | while (bfin_port_info[board_idx].udma_mask > 0 && |
1513 | udma_fsclk[udma_mode] > fsclk) { | ||
1513 | udma_mode--; | 1514 | udma_mode--; |
1514 | bfin_port_info[board_idx].udma_mask >>= 1; | 1515 | bfin_port_info[board_idx].udma_mask >>= 1; |
1515 | } | 1516 | } |