[linux] 05/07: [x86] pinctrl: cherryview: Extend the Chromebook DMI quirk to Intel_Strago systems
debian-kernel at lists.debian.org
debian-kernel at lists.debian.org
Mon Jul 17 00:39:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
benh pushed a commit to branch stretch
in repository linux.
commit cc9e9d952b6358fc569d31022324c53ffc4a6f1c
Author: Ben Hutchings <ben at decadent.org.uk>
Date: Mon Jul 17 00:32:30 2017 +0100
[x86] pinctrl: cherryview: Extend the Chromebook DMI quirk to Intel_Strago systems
Closes: #862723
---
debian/changelog | 2 +
...rryview-extend-the-chromebook-dmi-quirk-t.patch | 59 ++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 62 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 10acafa..718eba7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,8 @@ linux (4.9.30-3) UNRELEASED; urgency=medium
* [x86] ideapad-laptop: Add various IdeaPad models to no_hw_rfkill list
(Closes: #866706)
* [x86] pinctrl: cherryview: Add terminate entry for dmi_system_id tables
+ * [x86] pinctrl: cherryview: Extend the Chromebook DMI quirk to Intel_Strago
+ systems (Closes: #862723)
-- Ben Hutchings <ben at decadent.org.uk> Sun, 16 Jul 2017 21:54:09 +0100
diff --git a/debian/patches/bugfix/x86/pinctrl-cherryview-extend-the-chromebook-dmi-quirk-t.patch b/debian/patches/bugfix/x86/pinctrl-cherryview-extend-the-chromebook-dmi-quirk-t.patch
new file mode 100644
index 0000000..8a94dcd
--- /dev/null
+++ b/debian/patches/bugfix/x86/pinctrl-cherryview-extend-the-chromebook-dmi-quirk-t.patch
@@ -0,0 +1,59 @@
+From: Mika Westerberg <mika.westerberg at linux.intel.com>
+Date: Wed, 17 May 2017 13:25:14 +0300
+Subject: pinctrl: cherryview: Extend the Chromebook DMI quirk to Intel_Strago
+ systems
+Origin: https://git.kernel.org/linus/2a8209fa68236ad65363dba03db5dbced520268a
+Bug-Debian: https://bugs.debian.org/862723
+
+It turns out there are quite many Chromebooks out there that have the
+same keyboard issue than Acer Chromebook. All of them are based on
+Intel_Strago reference and report their DMI_PRODUCT_FAMILY as
+"Intel_Strago" (Samsung Chromebook 3 and Cyan Chromebooks are exceptions
+for which we add separate entries).
+
+Instead of adding each machine to the quirk table, we use
+DMI_PRODUCT_FAMILY of "Intel_Strago" that hopefully covers most of the
+machines out there currently.
+
+Link: https://bugzilla.kernel.org/show_bug.cgi?id=194945
+Suggested: Dmitry Torokhov <dmitry.torokhov at gmail.com>
+Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
+Reviewed-by: Andy Shevchenko <andy.shevchenko at gmail.com>
+Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
+---
+ drivers/pinctrl/intel/pinctrl-cherryview.c | 21 +++++++++++++++++----
+ 1 file changed, 17 insertions(+), 4 deletions(-)
+
+--- a/drivers/pinctrl/intel/pinctrl-cherryview.c
++++ b/drivers/pinctrl/intel/pinctrl-cherryview.c
+@@ -1534,13 +1534,26 @@ static void chv_gpio_irq_handler(struct
+ * is not listed below.
+ */
+ static const struct dmi_system_id chv_no_valid_mask[] = {
++ /* See https://bugzilla.kernel.org/show_bug.cgi?id=194945 */
+ {
+- /* See https://bugzilla.kernel.org/show_bug.cgi?id=194945 */
+- .ident = "Acer Chromebook (CYAN)",
++ .ident = "Intel_Strago based Chromebooks (All models)",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
+- DMI_MATCH(DMI_PRODUCT_NAME, "Edgar"),
+- DMI_MATCH(DMI_BIOS_DATE, "05/21/2016"),
++ DMI_MATCH(DMI_PRODUCT_FAMILY, "Intel_Strago"),
++ },
++ },
++ {
++ .ident = "Acer Chromebook R11 (Cyan)",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
++ DMI_MATCH(DMI_PRODUCT_NAME, "Cyan"),
++ },
++ },
++ {
++ .ident = "Samsung Chromebook 3 (Celes)",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
++ DMI_MATCH(DMI_PRODUCT_NAME, "Celes"),
+ },
+ },
+ {}
diff --git a/debian/patches/series b/debian/patches/series
index d131df9..7c133d0 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -55,6 +55,7 @@ debian/amd64-don-t-warn-about-expected-w+x-pages-on-xen.patch
bugfix/arm/arm-dts-kirkwood-fix-sata-pinmux-ing-for-ts419.patch
bugfix/x86/pinctrl-cherryview-add-a-quirk-to-make-acer-chromebo.patch
bugfix/x86/pinctrl-cherryview-add-terminate-entry-for-dmi_syste.patch
+bugfix/x86/pinctrl-cherryview-extend-the-chromebook-dmi-quirk-t.patch
bugfix/x86/platform-x86-ideapad-laptop-add-y700-15-acz-to-no_hw.patch
bugfix/x86/platform-x86-ideapad-laptop-add-ideapad-310-15ikb-to.patch
bugfix/x86/platform-x86-ideapad-laptop-add-ideapad-v310-15isk-t.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git
More information about the Kernel-svn-changes
mailing list