projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97511b1
)
wl18xx: fix PHY_INIT addresses mem size
author
Ido Reis
<idor@ti.com>
Sun, 13 May 2012 12:27:17 +0000
(15:27 +0300)
committer
Luciano Coelho
<coelho@ti.com>
Thu, 7 Jun 2012 15:10:48 +0000
(18:10 +0300)
was hardcoded 252, now uses the parameters struct size.
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl18xx/main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/ti/wl18xx/main.c
b/drivers/net/wireless/ti/wl18xx/main.c
index c8d45f011c63191f735615a3b3141ac19226a743..e030b1297a2b5ae8eefb599bcb68305d789980de 100644
(file)
--- a/
drivers/net/wireless/ti/wl18xx/main.c
+++ b/
drivers/net/wireless/ti/wl18xx/main.c
@@
-540,8
+540,8
@@
static const struct wlcore_partition_set wl18xx_ptable[PART_TABLE_LEN] = {
.mem3 = { .start = 0x00000000, .size = 0x00000000 },
},
[PART_PHY_INIT] = {
- /* TODO: use the phy_conf struct size here */
-
.mem = { .start = 0x80926000, .size = 252
},
+ .mem = { .start = 0x80926000,
+
.size = sizeof(struct wl18xx_mac_and_phy_params)
},
.reg = { .start = 0x00000000, .size = 0x00000000 },
.mem2 = { .start = 0x00000000, .size = 0x00000000 },
.mem3 = { .start = 0x00000000, .size = 0x00000000 },