Skip to content

Commit 61e4bec

Browse files
committed
pinctrl: Fix the pulls on BCM2712C0
The pulls for AON GPIOs 32-35 (known to pinctrl as 132-135) were being looked for in the wrong place. Fix that. D0 escaped because of the remapping. Signed-off-by: Phil Elwell <[email protected]>
1 parent 6c3ace7 commit 61e4bec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinctrl/gpiochip_bcm2712.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static volatile uint32_t *bcm2712_pad_base(struct bcm2712_inst *inst,
321321
return NULL;
322322
}
323323

324-
gpio = gpio_offset + inst->pad_offset;
324+
gpio += inst->pad_offset;
325325
*bit = (gpio % 15) * 2;
326326
return inst->pinmux_base + (gpio / 15);
327327
}

0 commit comments

Comments
 (0)