Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bccd240f authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Olof Johansson
Browse files

bus: sunxi-rsb: Fix peripheral IC mapping runtime address



0x4e is the runtime address normally associated with perihperal ICs.
0x45 is not a valid runtime address.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 427d6e48
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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, 0x45 }, /* Peripheral IC: AC100, ... */
	{ 0xe89, 0x4e }, /* Peripheral IC: AC100, ... */
};

static u8 sunxi_rsb_get_rtaddr(u16 hwaddr)