]> git.baikalelectronics.ru Git - kernel.git/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)
commitf5e42142badaff43141e7b5c0c985698c40720a4
tree469a24989a9c682809fc581810a0387181a4f746
parent0715c9a77201e2d09911de7808119c028d902648
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: 6358bfed1b74 ("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