Skip to content

Commit

Permalink
pinctrl: jasperlake: Fix HOSTSW_OWN offset
Browse files Browse the repository at this point in the history
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: e278dcb ("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>
  • Loading branch information
Evan Green authored and Andy Shevchenko committed Nov 16, 2020
1 parent 59024c9 commit cdd8fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/pinctrl/intel/pinctrl-jasperlake.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cdd8fc2

Please sign in to comment.