Skip to content

Commit 427d6e4

Browse files
wensolofj
authored andcommitted
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>
1 parent c4aa193 commit 427d6e4

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
@@ -527,7 +527,7 @@ static int sunxi_rsb_init_device_mode(struct sunxi_rsb *rsb)
527527
*/
528528

529529
static const struct sunxi_rsb_addr_map sunxi_rsb_addr_maps[] = {
530-
{ 0x3e3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
530+
{ 0x3a3, 0x2d }, /* Primary PMIC: AXP223, AXP809, AXP81X, ... */
531531
{ 0x745, 0x3a }, /* Secondary PMIC: AXP806, ... */
532532
{ 0xe89, 0x45 }, /* Peripheral IC: AC100, ... */
533533
};

0 commit comments

Comments
 (0)