Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd559b36 authored by Larry Finger's avatar Larry Finger Committed by John W. Linville
Browse files

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: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 559a4741
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);
		}
	}