Skip to content

Commit

Permalink
Revert "pinctrl-bcm2835: Set base to 0 give expected gpio numbering"
Browse files Browse the repository at this point in the history
This reverts commit 2afa879.
  • Loading branch information
pelwell authored and popcornmix committed Oct 9, 2023
1 parent 7f5c05d commit b9d35ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/pinctrl/bcm/pinctrl-bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ static const struct gpio_chip bcm2835_gpio_chip = {
.get = bcm2835_gpio_get,
.set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config,
.base = 0,
.base = -1,
.ngpio = BCM2835_NUM_GPIOS,
.can_sleep = false,
.add_pin_ranges = bcm2835_add_pin_ranges_fallback,
Expand All @@ -408,7 +408,7 @@ static const struct gpio_chip bcm2711_gpio_chip = {
.get = bcm2835_gpio_get,
.set = bcm2835_gpio_set,
.set_config = gpiochip_generic_config,
.base = 0,
.base = -1,
.ngpio = BCM2711_NUM_GPIOS,
.can_sleep = false,
.add_pin_ranges = bcm2835_add_pin_ranges_fallback,
Expand Down

0 comments on commit b9d35ab

Please sign in to comment.