]> git.itanic.dy.fi Git - linux-stable/commit
pinctrl: intel: Do pin translation when lock IRQ
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 25 Jul 2018 12:42:08 +0000 (15:42 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 29 Jul 2018 21:28:44 +0000 (23:28 +0200)
commit55aedef50d4d810670916d9fce4a40d5da2079e7
tree469a24989a9c682809fc581810a0387181a4f746
parentb4859f3edb47825f62d1b2efdd75fe7945996f49
pinctrl: intel: Do pin translation when lock IRQ

Default GPIOLIB callbacks for request and release IRQ do not do a GPIO
to pin translation which is necessary for Intel hardware, such as Intel
Cannonlake. Absence of the translation prevents some pins to be locked
as IRQ due to direction check. Introduce own callbacks to make
translation possible to avoid above issue.

Fixes: a60eac3239f0 ("pinctrl: intel: Allow custom GPIO base for pad groups")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/intel/pinctrl-intel.c