diff options
Diffstat (limited to 'drivers/ata/pata_cs5530.c')
-rw-r--r-- | drivers/ata/pata_cs5530.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c index 1c628014dae6..b1ca207e3545 100644 --- a/drivers/ata/pata_cs5530.c +++ b/drivers/ata/pata_cs5530.c | |||
@@ -372,7 +372,8 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
372 | static int cs5530_reinit_one(struct pci_dev *pdev) | 372 | static int cs5530_reinit_one(struct pci_dev *pdev) |
373 | { | 373 | { |
374 | /* If we fail on resume we are doomed */ | 374 | /* If we fail on resume we are doomed */ |
375 | BUG_ON(cs5530_init_chip()); | 375 | if (cs5530_init_chip()) |
376 | BUG(); | ||
376 | return ata_pci_device_resume(pdev); | 377 | return ata_pci_device_resume(pdev); |
377 | } | 378 | } |
378 | 379 | ||