projects
/
GitHub
/
moto-9609
/
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:
427d6e4
)
bus: sunxi-rsb: Fix peripheral IC mapping runtime address
author
Chen-Yu Tsai
<wens@csie.org>
Wed, 16 Dec 2015 09:14:46 +0000
(17:14 +0800)
committer
Olof Johansson
<olof@lixom.net>
Tue, 22 Dec 2015 19:42:30 +0000
(11:42 -0800)
0x4e is the runtime address normally associated with perihperal ICs.
0x45 is not a valid runtime address.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/bus/sunxi-rsb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bus/sunxi-rsb.c
b/drivers/bus/sunxi-rsb.c
index f951b35551751143b1917dde806468d60dce4bf4..25996e2561105ac615cf4cc99c468f7a8db0f3df 100644
(file)
--- a/
drivers/bus/sunxi-rsb.c
+++ b/
drivers/bus/sunxi-rsb.c
@@
-529,7
+529,7
@@
static int sunxi_rsb_init_device_mode(struct sunxi_rsb *rsb)
static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = {
{ 0x3a3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
{ 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */
- { 0xe89, 0x4
5
}, /* Peripheral IC: AC100, ... */
+ { 0xe89, 0x4
e
}, /* Peripheral IC: AC100, ... */
};
static u8 sunxi_rsb_get_rtaddr(u16 hwaddr)