diff options
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/pata_at91.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_at91.c b/drivers/ata/pata_at91.c index 41c94b1ae493..376dd380b43c 100644 --- a/drivers/ata/pata_at91.c +++ b/drivers/ata/pata_at91.c | |||
@@ -153,8 +153,8 @@ static void pata_at91_set_piomode(struct ata_port *ap, struct ata_device *adev) | |||
153 | /* Compute ATA timing and set it to SMC */ | 153 | /* Compute ATA timing and set it to SMC */ |
154 | ret = ata_timing_compute(adev, adev->pio_mode, &timing, 1000, 0); | 154 | ret = ata_timing_compute(adev, adev->pio_mode, &timing, 1000, 0); |
155 | if (ret) { | 155 | if (ret) { |
156 | dev_warn(ap->dev, "Failed to compute ATA timing %d, \ | 156 | dev_warn(ap->dev, "Failed to compute ATA timing %d, " |
157 | set PIO_0 timing\n", ret); | 157 | "set PIO_0 timing\n", ret); |
158 | set_smc_timing(ap->dev, info, &initial_timing); | 158 | set_smc_timing(ap->dev, info, &initial_timing); |
159 | } else { | 159 | } else { |
160 | set_smc_timing(ap->dev, info, &timing); | 160 | set_smc_timing(ap->dev, info, &timing); |