mirror of
https://github.com/torvalds/linux.git
synced 2026-10-08 19:46:02 +02:00
aspeed_g7_soc1_gpio_request_enable() unconditionally writes mux
function 0 to route the requested pin to GPIO. This is wrong for the
ADC-capable balls W17 through AB19 (ADC0-ADC15), where function 0
selects the ADC input and function 1 selects GPIO. Requesting one of
those GPIOs therefore muxed the ball to ADC instead.
Write mux value 1 for balls W17 through AB19 so the GPIO function is
actually selected.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-aspeed-g4.c | ||
| pinctrl-aspeed-g5.c | ||
| pinctrl-aspeed-g6.c | ||
| pinctrl-aspeed-g7-soc1.c | ||
| pinctrl-aspeed-g7-soc0.c | ||
| pinctrl-aspeed.c | ||
| pinctrl-aspeed.h | ||
| pinmux-aspeed.c | ||
| pinmux-aspeed.h | ||