summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-12-16 17:14:45 +0800
committerOlof Johansson <olof@lixom.net>2015-12-22 11:42:26 -0800
commit427d6e4812cf16fa6defccdcdfae2d60bfeb43b2 (patch)
treecdec79b95997e686ed6a392183d4e4402e7c95c7 /drivers/bus
parentc4aa1937b7f40adc93e2e0a901314a4bd8991174 (diff)
bus: sunxi-rsb: Fix primary PMIC mapping hardware address
The primary PMICs use 0x3a3 as their hardware address, not 0x3e3. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/sunxi-rsb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c
index 0cfcb39c53f4..f951b3555175 100644
--- a/drivers/bus/sunxi-rsb.c
+++ b/drivers/bus/sunxi-rsb.c
@@ -527,7 +527,7 @@ static int sunxi_rsb_init_device_mode(struct sunxi_rsb *rsb)
*/
static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = {
- { 0x3e3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
+ { 0x3a3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
{ 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */
{ 0xe89, 0x45 }, /* Peripheral IC: AC100, ... */
};