mirror of
https://github.com/torvalds/linux.git
synced 2026-05-20 04:43:19 +02: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:
|
||
|---|---|---|
| .. | ||
| 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 | ||