summaryrefslogtreecommitdiff
path: root/libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-01-18 12:24:17 -0300
committerDavid P <megver83@parabola.nu>2020-01-18 12:24:17 -0300
commitf798bb419dbef10358ef9d8365e7d592e9a055ea (patch)
treeb473ea4df7af4c1bc5cdc104af396bfb56040e65 /libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch
parent6723e044157885de4b420ba95f5e4e171ae5ebf6 (diff)
downloadabslibre-f798bb419dbef10358ef9d8365e7d592e9a055ea.tar.gz
abslibre-f798bb419dbef10358ef9d8365e7d592e9a055ea.tar.bz2
abslibre-f798bb419dbef10358ef9d8365e7d592e9a055ea.zip
updpkg: libre-testing/linux-libre-cros 5.4.11-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch')
-rw-r--r--libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch b/libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch
new file mode 100644
index 000000000..42e5e03c0
--- /dev/null
+++ b/libre-testing/linux-libre-cros/0012-pinctrl-sunrisepoint-Add-missing-Interrupt-Status-re.patch
@@ -0,0 +1,35 @@
+From a5f880ae74a3317bc47838db8715c5b0e6fd156c Mon Sep 17 00:00:00 2001
+From: Boyan Ding <boyan.j.ding@gmail.com>
+Date: Wed, 1 Jan 2020 11:44:49 -0800
+Subject: [PATCH 12/14] pinctrl: sunrisepoint: Add missing Interrupt Status
+ register offset
+
+Commit 179e5a6114cc ("pinctrl: intel: Remove default Interrupt Status
+offset") removes default interrupt status offset of GPIO controllers,
+with previous commits explicitly providing the previously default
+offsets. However, the is_offset value in SPTH_COMMUNITY is missing,
+preventing related irq from being properly detected and handled.
+
+Fixes: f702e0b93cdb ("pinctrl: sunrisepoint: Provide Interrupt Status register offset")
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=205745
+Cc: stable@vger.kernel.org
+Signed-off-by: Boyan Ding <boyan.j.ding@gmail.com>
+---
+ drivers/pinctrl/intel/pinctrl-sunrisepoint.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/drivers/pinctrl/intel/pinctrl-sunrisepoint.c b/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
+index 44d7f50bbc82..d936e7aa74c4 100644
+--- a/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
++++ b/drivers/pinctrl/intel/pinctrl-sunrisepoint.c
+@@ -49,6 +49,7 @@
+ .padown_offset = SPT_PAD_OWN, \
+ .padcfglock_offset = SPT_PADCFGLOCK, \
+ .hostown_offset = SPT_HOSTSW_OWN, \
++ .is_offset = SPT_GPI_IS, \
+ .ie_offset = SPT_GPI_IE, \
+ .pin_base = (s), \
+ .npins = ((e) - (s) + 1), \
+--
+2.25.0
+