Comments
Patch
===================================================================
@@ -2628,6 +2628,14 @@
bcma_chipco_bcm4331_ext_pa_lines_ctl(&bus->drv_cc, true);
err = bcma_sprom_valid(sprom);
+@@ -243,5 +598,7 @@ int bcma_sprom_get(struct bcma_bus *bus)
+
+ out:
+ kfree(sprom);
++ pr_debug("Reading SPROM failed. Trying fallback SPROM...\n");
++ err = bcma_fill_sprom_with_fallback(bus, &bus->sprom);
+ return err;
+ }
--- a/include/linux/bcma/bcma.h
+++ b/include/linux/bcma/bcma.h
@@ -26,6 +26,11 @@ struct bcma_chipinfo {
BCMA: If reading sprom fails try fallback sprom. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>