[PATCH] pata_cs5520: remove incorrect warning message

From: Bartlomiej Zolnierkiewicz
Date: Tue Oct 11 2011 - 14:28:05 EST


From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
Subject: [PATCH] pata_cs5520: remove incorrect warning message

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
---
drivers/ata/pata_cs5520.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Index: b/drivers/ata/pata_cs5520.c
===================================================================
--- a/drivers/ata/pata_cs5520.c
+++ b/drivers/ata/pata_cs5520.c
@@ -148,10 +148,8 @@ static int __devinit cs5520_init_one(str
if (pcicfg & 2)
ppi[1] = &pi;

- if ((pcicfg & 0x40) == 0) {
- dev_warn(&pdev->dev, "DMA mode disabled. Enabling.\n");
+ if ((pcicfg & 0x40) == 0)
pci_write_config_byte(pdev, 0x60, pcicfg | 0x40);
- }

pi.mwdma_mask = id->driver_data;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/