projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48b13a
)
bcma: Enable logging of SPROM offset
author
Larry Finger
<Larry.Finger@lwfinger.net>
Wed, 11 Jan 2012 20:39:32 +0000
(14:39 -0600)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 24 Jan 2012 19:21:12 +0000
(14:21 -0500)
The SPROM location has been relocated again for some devices. This patch
will log the offset when CONFIG_BCMA_DEBUG has been selected.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bcma/sprom.c
b/drivers/bcma/sprom.c
index cb835f026d94757d9522bc52779a1640baf29d55..e35134f724f64b783119cf0e017e822e3a9865d0 100644
(file)
--- a/
drivers/bcma/sprom.c
+++ b/
drivers/bcma/sprom.c
@@
-271,6
+271,7
@@
int bcma_sprom_get(struct bcma_bus *bus)
* TODO: understand this condition and use it */
offset = (bus->chipinfo.id == 0x4331) ? BCMA_CC_SPROM :
BCMA_CC_SPROM_PCIE6;
+ pr_debug("SPROM offset 0x%x\n", offset);
bcma_sprom_read(bus, offset, sprom);
if (bus->chipinfo.id == 0x4331)