projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix double fget() in vhost_net_set_backend()
[linux-2.6-microblaze.git]
/
drivers
/
ata
/
pata_amd.c
diff --git
a/drivers/ata/pata_amd.c
b/drivers/ata/pata_amd.c
index
c8acba1
..
154748c
100644
(file)
--- a/
drivers/ata/pata_amd.c
+++ b/
drivers/ata/pata_amd.c
@@
-66,7
+66,7
@@
static void timing_setup(struct ata_port *ap, struct ata_device *adev, int offse
if (peer) {
/* This may be over conservative */
- if (
peer->dma_mode
) {
+ if (
ata_dma_enabled(peer)
) {
ata_timing_compute(peer, peer->dma_mode, &apeer, T, UT);
ata_timing_merge(&apeer, &at, &at, ATA_TIMING_8BIT);
}