mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
...and gpio-ranges
pinctrl-bcm2835 is a combined pinctrl/gpio driver. Currently the gpio
side is registered first, but this breaks gpio hogs (which are
configured during gpiochip_add_data). Part of the hog initialisation
is a call to pinctrl_gpio_request, and since the pinctrl driver hasn't
yet been registered this results in an -EPROBE_DEFER from which it can
never recover.
Change the initialisation sequence to register the pinctrl driver
first.
This also solves a similar problem with the gpio-ranges property, which
is required in order for released pins to be returned to inputs.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-bcm63xx.c | ||
| pinctrl-bcm63xx.h | ||
| pinctrl-bcm281xx.c | ||
| pinctrl-bcm2835.c | ||
| pinctrl-bcm6318.c | ||
| pinctrl-bcm6328.c | ||
| pinctrl-bcm6358.c | ||
| pinctrl-bcm6362.c | ||
| pinctrl-bcm6368.c | ||
| pinctrl-bcm63268.c | ||
| pinctrl-cygnus-mux.c | ||
| pinctrl-iproc-gpio.c | ||
| pinctrl-ns.c | ||
| pinctrl-ns2-mux.c | ||
| pinctrl-nsp-gpio.c | ||
| pinctrl-nsp-mux.c | ||