mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
For some reason I thought GPIOLIB handles translation from GPIO ranges
to pinctrl pins but it turns out not to be the case. This means that
when GPIOs operations are performed for a pin controller having a custom
GPIO base such as Cannon Lake and Ice Lake incorrect pin number gets
used internally.
Fix this in the same way we did for lock/unlock IRQ operations and
translate the GPIO number to pin before using it.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-baytrail.c | ||
| pinctrl-broxton.c | ||
| pinctrl-cannonlake.c | ||
| pinctrl-cedarfork.c | ||
| pinctrl-cherryview.c | ||
| pinctrl-denverton.c | ||
| pinctrl-geminilake.c | ||
| pinctrl-icelake.c | ||
| pinctrl-intel.c | ||
| pinctrl-intel.h | ||
| pinctrl-lewisburg.c | ||
| pinctrl-merrifield.c | ||
| pinctrl-sunrisepoint.c | ||