projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559a474
)
ssb: Fix error when V1 SPROM extraction is forced
author
Larry Finger
<Larry.Finger@lwfinger.net>
Sun, 13 Sep 2009 20:55:13 +0000
(15:55 -0500)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 14 Sep 2009 18:36:05 +0000
(14:36 -0400)
When an SPROM revision is not recognized, the code falls back to a V1
SPROM; however, that revision is not forced in the appropriate structure.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c
patch
|
blob
|
history
diff --git
a/drivers/ssb/pci.c
b/drivers/ssb/pci.c
index f853d5600ca778fa447f0ee6acee1bf6c2d3899f..9e50896233aa969e5fa145bcf630dd0ba9055363 100644
(file)
--- a/
drivers/ssb/pci.c
+++ b/
drivers/ssb/pci.c
@@
-600,6
+600,7
@@
static int sprom_extract(struct ssb_bus *bus, struct ssb_sprom *out,
ssb_printk(KERN_WARNING PFX "Unsupported SPROM"
" revision %d detected. Will extract"
" v1\n", out->revision);
+ out->revision = 1;
sprom_extract_r123(out, in);
}
}