diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_ali.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 0f3e659db99a..5ca70fa1f587 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c | |||
@@ -550,8 +550,9 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
550 | pci_read_config_byte(isa_bridge, 0x5E, &tmp); | 550 | pci_read_config_byte(isa_bridge, 0x5E, &tmp); |
551 | if ((tmp & 0x1E) == 0x12) | 551 | if ((tmp & 0x1E) == 0x12) |
552 | ppi[0] = &info_20_udma; | 552 | ppi[0] = &info_20_udma; |
553 | pci_dev_put(isa_bridge); | ||
554 | } | 553 | } |
554 | pci_dev_put(isa_bridge); | ||
555 | |||
555 | return ata_pci_sff_init_one(pdev, ppi, &ali_sht, NULL); | 556 | return ata_pci_sff_init_one(pdev, ppi, &ali_sht, NULL); |
556 | } | 557 | } |
557 | 558 | ||