Skip to content

Commit bccd240

Browse files
wensolofj
authored andcommitted
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: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 427d6e4 commit bccd240

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/bus/sunxi-rsb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ static int sunxi_rsb_init_device_mode(struct sunxi_rsb *rsb)
529529
static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = {
530530
{ 0x3a3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
531531
{ 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */
532-
{ 0xe89, 0x45 }, /* Peripheral IC: AC100, ... */
532+
{ 0xe89, 0x4e }, /* Peripheral IC: AC100, ... */
533533
};
534534

535535
static u8 sunxi_rsb_get_rtaddr(u16 hwaddr)

0 commit comments

Comments
 (0)