projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb9383b
)
Revert "pinctrl-bcm2835: Set base to 0 give expected gpio numbering"
author
Dom Cobley
<popcornmix@gmail.com>
Fri, 17 Jun 2022 17:54:51 +0000
(18:54 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Fri, 17 Jun 2022 17:54:51 +0000
(18:54 +0100)
This reverts commit
9d479ba48d1aa61814910a6db672595dd1507489
.
drivers/pinctrl/bcm/pinctrl-bcm2835.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
index
358fc1c
..
09ae46e
100644
(file)
--- a/
drivers/pinctrl/bcm/pinctrl-bcm2835.c
+++ b/
drivers/pinctrl/bcm/pinctrl-bcm2835.c
@@
-362,7
+362,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,
};
@@
-378,7
+378,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,
};