summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Green <evgreen@chromium.org>2020-11-11 15:17:28 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-16 10:58:35 +0100
commitd100b8d66ca7f49d28c4de8ae603ce44d676b19f (patch)
treefdb4ea80ea21fde227f7bcc2cc72a48537ba0c3e
parentac1e8e8b33c827d2756bd1783c2dcf8500bbb80e (diff)
downloadlinux-stable-d100b8d66ca7f49d28c4de8ae603ce44d676b19f.tar.gz
linux-stable-d100b8d66ca7f49d28c4de8ae603ce44d676b19f.tar.bz2
linux-stable-d100b8d66ca7f49d28c4de8ae603ce44d676b19f.zip
pinctrl: jasperlake: Fix HOSTSW_OWN offset
commit cdd8fc2dd64e3f1b22a6636e242d0eff49c4ba22 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/pinctrl/intel/pinctrl-jasperlake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl-jasperlake.c b/drivers/pinctrl/intel/pinctrl-jasperlake.c
index 9bd0e8e6310c..283698cf0dc7 100644
--- a/drivers/pinctrl/intel/pinctrl-jasperlake.c
+++ b/drivers/pinctrl/intel/pinctrl-jasperlake.c
@@ -16,7 +16,7 @@
#define JSL_PAD_OWN 0x020
#define JSL_PADCFGLOCK 0x080
-#define JSL_HOSTSW_OWN 0x0b0
+#define JSL_HOSTSW_OWN 0x0c0
#define JSL_GPI_IS 0x100
#define JSL_GPI_IE 0x120