diff options
author | Barna Csorogi | 2017-04-18 22:26:33 +0200 |
---|---|---|
committer | Barna Csorogi | 2017-04-18 22:26:33 +0200 |
commit | e19e452336b7900ddb0c3fb1fcdc9c79b57fee23 (patch) | |
tree | 5312cf673ef49d49121aafd7e1f930edf9e46870 | |
parent | fddd93a343466b841b9afb7bbf79a5c9cea7d223 (diff) | |
download | aur-e19e452336b7900ddb0c3fb1fcdc9c79b57fee23.tar.gz |
fix keyboard on Samsung Chromebook 3 (CELES)
-rw-r--r-- | cherryview-pinctrl.diff | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/cherryview-pinctrl.diff b/cherryview-pinctrl.diff index 623ff410bf3..e1c45ea905d 100644 --- a/cherryview-pinctrl.diff +++ b/cherryview-pinctrl.diff @@ -1,5 +1,5 @@ diff --git a/drivers/pinctrl/intel/pinctrl-cherryview.c b/drivers/pinctrl/intel/pinctrl-cherryview.c -index 5e66860a5..5aaf1cff9 100644 +index 5e66860a5..4c20e9200 100644 --- a/drivers/pinctrl/intel/pinctrl-cherryview.c +++ b/drivers/pinctrl/intel/pinctrl-cherryview.c @@ -13,6 +13,7 @@ @@ -10,7 +10,7 @@ index 5e66860a5..5aaf1cff9 100644 #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> -@@ -1524,10 +1525,40 @@ static void chv_gpio_irq_handler(struct irq_desc *desc) +@@ -1524,10 +1525,49 @@ static void chv_gpio_irq_handler(struct irq_desc *desc) chained_irq_exit(chip, desc); } @@ -40,6 +40,15 @@ index 5e66860a5..5aaf1cff9 100644 + DMI_MATCH(DMI_PRODUCT_NAME, "Terra"), + DMI_MATCH(DMI_BIOS_DATE, "05/26/2016"), + }, ++ }, ++ { ++ /* See https://bugzilla.kernel.org/show_bug.cgi?id=194945 */ ++ .ident = "Samsung Chromebook 3 (CELES)", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"), ++ DMI_MATCH(DMI_PRODUCT_NAME, "Celes"), ++ DMI_MATCH(DMI_BIOS_DATE, "01/19/2017"), ++ }, + } +}; + @@ -51,7 +60,7 @@ index 5e66860a5..5aaf1cff9 100644 int ret, i, offset; *chip = chv_gpio_chip; -@@ -1536,7 +1567,7 @@ static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) +@@ -1536,7 +1576,7 @@ static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) chip->label = dev_name(pctrl->dev); chip->parent = pctrl->dev; chip->base = -1; @@ -60,7 +69,7 @@ index 5e66860a5..5aaf1cff9 100644 ret = devm_gpiochip_add_data(pctrl->dev, chip, pctrl); if (ret) { -@@ -1567,7 +1598,7 @@ static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) +@@ -1567,7 +1607,7 @@ static int chv_gpio_probe(struct chv_pinctrl *pctrl, int irq) intsel &= CHV_PADCTRL0_INTSEL_MASK; intsel >>= CHV_PADCTRL0_INTSEL_SHIFT; |