pinctrl: jasperlake: Fix HOSTSW_OWN offset
authorEvan Green <evgreen@chromium.org>
Wed, 11 Nov 2020 23:17:28 +0000 (15:17 -0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Nov 2020 10:07:57 +0000 (12:07 +0200)
commitcdd8fc2dd64e3f1b22a6636e242d0eff49c4ba22
tree218660cc3b3c1e5e6072eea37c4a8449792002a0
parent59024c936561090d766370e839a880dd42232c33
pinctrl: jasperlake: Fix HOSTSW_OWN offset

GPIOs that attempt to use interrupts get thwarted with a message like:
"pin 161 cannot be used as IRQ" (for instance with SD_CD). This is because
the HOSTSW_OWN offset is incorrect, so every GPIO looks like it's
owned by ACPI.

Fixes: e278dcb7048b1 ("pinctrl: intel: Add Intel Jasper Lake pin controller support")
Cc: stable@vger.kernel.org
Signed-off-by: Evan Green <evgreen@chromium.org>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/pinctrl/intel/pinctrl-jasperlake.c