diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2009-09-13 15:55:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-14 14:36:05 -0400 |
commit | cd559b36e77c396425284a58ce4b2c5d2167d40d (patch) | |
tree | c75c20449605e97685d00adb14d727cebd288b96 /drivers/ssb | |
parent | 559a4741b8a5b4551b8c7e8e0de7f3e41a79bb5a (diff) | |
download | kernel_goldelico_gta04-cd559b36e77c396425284a58ce4b2c5d2167d40d.zip kernel_goldelico_gta04-cd559b36e77c396425284a58ce4b2c5d2167d40d.tar.gz kernel_goldelico_gta04-cd559b36e77c396425284a58ce4b2c5d2167d40d.tar.bz2 |
ssb: Fix error when V1 SPROM extraction is forced
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>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index f853d56..9e50896 100644 --- 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); } } |