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
ata: libahci: Don't read AHCI version twice in the save-config method
[linux-2.6-microblaze.git]
/
drivers
/
ata
/
libahci.c
diff --git
a/drivers/ata/libahci.c
b/drivers/ata/libahci.c
index
000a707
..
1ffaa5f
100644
(file)
--- a/
drivers/ata/libahci.c
+++ b/
drivers/ata/libahci.c
@@
-564,7
+564,7
@@
void ahci_save_initial_config(struct device *dev, struct ahci_host_priv *hpriv)
/* record values to use during operation */
hpriv->cap = cap;
hpriv->cap2 = cap2;
- hpriv->version =
readl(mmio + HOST_VERSION)
;
+ hpriv->version =
vers
;
hpriv->port_map = port_map;
if (!hpriv->start_engine)